From zlewis@example.net Mon Dec 14 11:44:42 2009
Return-Path: <zlewis@example.net>
Delivered-To: zlewis@example.net
Received: (qmail 97611 invoked from network); 14 Dec 2009 11:44:42 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 14 Dec 2009 11:44:42 -0000
Received: (qmail 18082 invoked by uid 500); 14 Dec 2009 11:44:42 -0000
Delivered-To: zlewis@example.net
Received: (qmail 18023 invoked by uid 500); 14 Dec 2009 11:44:41 -0000
Mailing-List: contact zlewis@example.net; run by ezmlm
Precedence: bulk
Reply-To: zlewis@example.net
list-help: <mailto:zlewis@example.net>
list-unsubscribe: <mailto:zlewis@example.net>
List-Post: <mailto:zlewis@example.net>
List-Id: <wsif-user.ws.apache.org>
Delivered-To: mailing list zlewis@example.net
Received: (qmail 18013 invoked by uid 99); 14 Dec 2009 11:44:41 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 11:44:41 +0000
X-ASF-Spam-Status: No, hits=3.4 required=10.0
	tests=HTML_MESSAGE,SPF_NEUTRAL
X-Spam-Check-By: apache.org
Received-SPF: neutral (nike.apache.org: local policy)
Received: from [83.161.120.155] (HELO em-p00-ob.rzone.de) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 11:44:30 +0000
X-RZG-AUTH: :I2ANY0W6NezVrD4uMbRKlW/ccdR4l/RbLWbjTkW3Loh8U3pC9QwplfM/UQKEg0FKSUPL88w=
X-RZG-CLASS-ID: em00
Received: from post.webmailer.de (bel.store [83.161.120.155])
	by snori-em-04.store (RZmta 22.5) with ESMTP id 303f09lBE6cU7i
	for <zlewis@example.net>; Mon, 14 Dec 2009 12:44:10 +0100 (MET)
Received: (from httpd@localhost)
	by post.webmailer.de (8.13.7/8.13.6) id nBEBi9nU008655
	for zlewis@example.net; Mon, 14 Dec 2009 12:44:09 +0100 (MET)
Date: Mon, 14 Dec 2009 12:44:09 +0100 (MET)
Message-Id: <zlewis@example.net>
To: zlewis@example.net
From: "Oliver Schneider" <zlewis@example.net>
Subject: Problem with WSIF service invcation 
X-Priority: 3
X-Abuse: 243485 / 83.161.120.155
X-RZG-MBID: 00qvYTEr67SSpsxqQhcP1g4fFRI4wgttscVJ0CToZARoIJBMbYPLN1B1+A==
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="b_01_12a79d8ea1ce46987244639dc604b4fc"
X-Virus-Checked: Checked by ClamAV on apache.org

--b_01_12a79d8ea1ce46987244639dc604b4fc
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//DE"><HTML><HEAD><=
META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">=
<TITLE>Message</TITLE></HEAD><BODY>

<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0" height=3D"100%" wid=
th=3D"100%">
  <tbody><tr><form name=3D"msg_view"></form>
<input name=3D"msgNo" value=3D"158" type=3D"hidden">
    <td class=3D"BC0C0C0"><img src=3D"https://communicator.strato.de/01_str=
ato_files/images_strato/de/dummy.gif" border=3D"0" height=3D"1" width=3D"1"=
></td>
    <td valign=3D"top" width=3D"100%">
      <table border=3D"0" cellpadding=3D"0" cellspacing=3D"0" width=3D"100%=
">
        <tbody><tr>
          <td width=3D"12"><img src=3D"https://communicator.strato.de/01_st=
rato_files/images_strato/de/dummy.gif" border=3D"0" height=3D"1" width=3D"1=
2"></td>
          <td width=3D"100%"><auto_cleaned_doctype_tag><auto_cleaned_html_t=
ag><auto_cleaned_head_tag><auto_cleaned_meta_tag><auto_cleaned_title_tag><a=
uto_cleaned_head_tag><auto_cleaned_body_tag>Hello everybody,<br>
<br>
I need some urgent help concerning the following problem:<br>
<br>
I wrote a custom Web service using WSIF which I would like to invoke
from my BPEL process, pass along as input a string and want to return
as output a complex type message.<br>
I try to set the content of the complex type from within the Java class tha=
t is called by the WSIF interface operation.<br>
<br>
My WSDL looks as follows:<br>
<br>&lt;?xml version=3D"1.0" encoding=3D"utf-8" ?&gt; <br>&lt;wsdl:definiti=
ons xmlns:pub=3D"<a class=3D"linkification-ext" href=3D"http://xmlns.oracle=
.com/Application2/podl_soa/podl_soa_bpel/publication" title=3D"Linkificatio=
n: http://xmlns.oracle.com/Application2/podl_soa/podl_soa_bpel/publication"=
>http://xmlns.oracle.com/Application2/podl_soa/podl_soa_bpel/publication</a=
>"<br>&nbsp; targetNamespace=3D"<a class=3D"linkification-ext" href=3D"http=
://xmlns.oracle.com/Application2/podl_soa/podl_soa_bpel/publication" title=
=3D"Linkification: http://xmlns.oracle.com/Application2/podl_soa/podl_soa_b=
pel/publication">http://xmlns.oracle.com/Application2/podl_soa/podl_soa_bpe=
l/publication</a>"<br>&nbsp; xmlns:wsdl=3D"<a class=3D"linkification-ext" h=
ref=3D"http://schemas.xmlsoap.org/wsdl/" title=3D"Linkification: http://sch=
emas.xmlsoap.org/wsdl/">http://schemas.xmlsoap.org/wsdl/</a>" xmlns:xs=3D"<=
a class=3D"linkification-ext" href=3D"http://www.w3.org/2001/XMLSchema" tit=
le=3D"Linkification: http://www.w3.org/2001/XMLSchema">http://www.w3.org/20=
01/XMLSchema</a>"<br>&nbsp; xmlns:plnk=3D"<a class=3D"linkification-ext" hr=
ef=3D"http://schemas.xmlsoap.org/ws/2003/05/partner-link/" title=3D"Linkifi=
cation: http://schemas.xmlsoap.org/ws/2003/05/partner-link/">http://schemas=
.xmlsoap.org/ws/2003/05/partner-link/</a>"<br>&nbsp; xmlns:format=3D"<a cla=
ss=3D"linkification-ext" href=3D"http://schemas.xmlsoap.org/wsdl/formatbind=
ing/" title=3D"Linkification: http://schemas.xmlsoap.org/wsdl/formatbinding=
/">http://schemas.xmlsoap.org/wsdl/formatbinding/</a>"<br>&nbsp; xmlns:main=
=3D"<a class=3D"linkification-ext" href=3D"http://xmlns.oracle.com/Applicat=
ion2/podl_soa/podl_soa_bpel" title=3D"Linkification: http://xmlns.oracle.co=
m/Application2/podl_soa/podl_soa_bpel">http://xmlns.oracle.com/Application2=
/podl_soa/podl_soa_bpel</a>"<br>&nbsp; xmlns:java=3D"<a class=3D"linkificat=
ion-ext" href=3D"http://schemas.xmlsoap.org/wsdl/java/" title=3D"Linkificat=
ion: http://schemas.xmlsoap.org/wsdl/java/">http://schemas.xmlsoap.org/wsdl=
/java/</a>"<br>&nbsp; xmlns:ncc=3D"<a class=3D"linkification-ext" href=3D"h=
ttp://publications.europe.eu/ncc" title=3D"Linkification: http://publicatio=
ns.europe.eu/ncc">http://publications.europe.eu/ncc</a>"<br>&nbsp; xmlns:ar=
ch=3D"<a class=3D"linkification-ext" href=3D"http://publications.europe.eu/=
archive" title=3D"Linkification: http://publications.europe.eu/archive">htt=
p://publications.europe.eu/archive</a>"<br>&nbsp; xmlns:par=3D"<a class=3D"=
linkification-ext" href=3D"http://publications.europe.eu/parameters" title=
=3D"Linkification: http://publications.europe.eu/parameters">http://publica=
tions.europe.eu/parameters</a>"<br>&nbsp; xmlns:ext=3D"<a class=3D"linkific=
ation-ext" href=3D"http://publications.europe.eu/external" title=3D"Linkifi=
cation: http://publications.europe.eu/external">http://publications.europe.=
eu/external</a>"&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;!--wsdl:import namespace=
=3D"<a class=3D"linkification-ext" href=3D"http://xmlns.oracle.com/Applicat=
ion2/podl_soa/podl_soa_bpel" title=3D"Linkification: http://xmlns.oracle.co=
m/Application2/podl_soa/podl_soa_bpel">http://xmlns.oracle.com/Application2=
/podl_soa/podl_soa_bpel</a>"<br>&nbsp;&nbsp;&nbsp; location=3D"../../../pod=
l_soa_bpel.wsdl"/--&gt;<br><br>&nbsp;&nbsp;&nbsp; &lt;wsdl:types&gt;<br>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:schema&gt;<br>&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:import schemaLo=
cation=3D"../../../xsd/ncc_rules.xsd"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; namespace=3D"<a class=3D"linkification-ext" href=3D"http://publ=
ications.europe.eu/ncc" title=3D"Linkification: http://publications.europe.=
eu/ncc">http://publications.europe.eu/ncc</a>"/&gt;<br>&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:import schemaLocation=
=3D"../../../xsd/archive_rules.xsd"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; namespace=3D"<a class=3D"linkification-ext" href=3D"http://public=
ations.europe.eu/archive" title=3D"Linkification: http://publications.europ=
e.eu/archive">http://publications.europe.eu/archive</a>"/&gt;<br>&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:import sche=
maLocation=3D"../../../xsd/parameters.xsd"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; namespace=3D"<a class=3D"linkification-ext" href=3D"http:/=
/publications.europe.eu/parameters" title=3D"Linkification: http://publicat=
ions.europe.eu/parameters">http://publications.europe.eu/parameters</a>"/&g=
t;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &l=
t;xs:import schemaLocation=3D"../../../xsd/external.xsd"<br>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; namespace=3D"<a class=3D"linkification-ext" =
href=3D"http://publications.europe.eu/external" title=3D"Linkification: htt=
p://publications.europe.eu/external">http://publications.europe.eu/external=
</a>"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; &lt;xs:complexType name=3D"PublicationRules"&gt;<br>&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &=
lt;xs:sequence&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xs:elemen=
t name=3D"ncc" type=3D"ncc:RuleSet" maxOccurs=3D"1"/&gt;<br>&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--xs:element name=3D"archive" type=3D"arch:Ar=
chiveSet" maxOccurs=3D"1"/--&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sequence&gt;<br=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs=
:complexType&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/xs:sche=
ma&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:types&gt;<br><br>&nbsp;&nbsp;&nbsp; =
&lt;wsdl:message name=3D"service_request"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; &lt;wsdl:part name=3D"catnum" type=3D"xs:string"/&gt;<br>&=
nbsp;&nbsp;&nbsp; &lt;/wsdl:message&gt;<br>&nbsp;&nbsp;&nbsp; &lt;wsdl:mess=
age name=3D"service_response"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; &lt;wsdl:part name=3D"publicationRules" type=3D"PublicationRules"/&gt;=
<br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:message&gt;<br><br>&nbsp; &lt;wsdl:portTyp=
e name=3D"publication_PT"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;wsdl:operation name=
=3D"initialize"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;wsdl:input messag=
e=3D"pub:service_request"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;wsdl:o=
utput name=3D"getPublicationRulesOutput" message=3D"pub:service_response"/&=
gt;<br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:operation&gt;<br>&nbsp; &lt;/wsdl:portT=
ype&gt;<br><br>&nbsp; &lt;!-- Java binding --&gt;<br>&nbsp; &lt;wsdl:bindin=
g name=3D"JavaBinding" type=3D"pub:publication_PT"&gt;<br>&nbsp;&nbsp;&nbsp=
; &lt;java:binding/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;format:typeMapping encodi=
ng=3D"Java" style=3D"Java"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format=
:typeMap typeName=3D"xs:string" formatType=3D"java.lang.String"/&gt;<br>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;format:typeMap typeName=3D"pub:PublicationRules"
formatType=3D"com.oracle.xmlns.Application2.podl_soa.podl_soa_bpel.publicat=
ion.PublicationRules"
/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;format:typeMap typeName=3D"ncc:=
RuleSet" formatType=3D"eu.europe.publications.ncc.RuleSet" /&gt;<br>&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; &lt;format:typeMap typeName=3D"ncc:NccRule" formatT=
ype=3D"eu.europe.publications.ncc.NccRule" /&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; <br>&nbsp;&nbsp;&nbsp; &lt;/format:typeMapping&gt;<br>&nbsp;&nbsp;&nbsp=
; &lt;wsdl:operation name=3D"initialize"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; &lt;java:operation methodName=3D"getPublicationRules" returnPart=3D"pub=
licationRules"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;wsdl:input/&gt;<b=
r>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;wsdl:output name=3D"getPublicationRule=
sOutput"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:operation&gt;<br>&nbsp; &lt;/=
wsdl:binding&gt;<br><br>&nbsp; &lt;wsdl:service name=3D"PUBLICATION"&gt;<br=
>&nbsp;&nbsp;&nbsp; &lt;wsdl:port name=3D"JavaPort" binding=3D"pub:JavaBind=
ing"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;java:address className=3D"Pu=
blicationRulesProvider"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/wsdl:port&gt;<br>&n=
bsp; &lt;/wsdl:service&gt;<br><br>&nbsp; &lt;!-- Partner link type --&gt;<b=
r>&nbsp; &lt;plnk:partnerLinkType name=3D"publication_LT"&gt;<br>&nbsp;&nbs=
p;&nbsp; &lt;plnk:role name=3D"PublicationService"&gt;<br>&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; &lt;plnk:portType name=3D"pub:publication_PT"/&gt;<br>&nbsp;&=
nbsp;&nbsp; &lt;/plnk:role&gt;<br>&nbsp; &lt;/plnk:partnerLinkType&gt;<br><=
br>&lt;/wsdl:definitions&gt;<br><br>Within the PublicationRulesProvides I s=
et the content of the return type PublicationRules and return it in the end=
.<br>
<br>
Unfortunately when I deploy everything to the SOA server and run the test, =
I always receive the following exception:<br><br><span>
<table style=3D"white-space: normal; background-color: rgb(240, 240, 240);"=
 summary=3D"" border=3D"0" cellpadding=3D"0" cellspacing=3D"0">
<tbody>
<tr>
<td>
<div>
<div><span>&lt;</span><span>remoteFault</span><span>&gt;</span>=20
<div>
<div><span>&lt;</span><span>part</span>=20
&nbsp;<span>name</span><span>=3D"</span><b>summary</b><span>"</span><span>&=
gt;</span>=20
<div>
<div><span>&lt;</span><span>summary</span><span>&gt;</span><span>oracle.fab=
ric.common.FabricException:=20
Error while determining return class of method getPublicationRules : The me=
ta=20
information is not consistent.; nested exception is:=20
oracle.integration.thirdparty.apache.wsif.WSIFException:=20
publicationRules</span><span>&lt;/</span><span>summary</span><span>&gt;</sp=
an>=20
</div></div>
<div><span>&lt;/</span><span>part</span><span>&gt;</span> </div></div>
<div><span>&lt;</span><span>part</span>=20
&nbsp;<span>name</span><span>=3D"</span><b>detail</b><span>"</span><span>&g=
t;</span>=20
<div>
<div><span>&lt;</span><span>detail</span><span>&gt;</span><span>Error while=
=20
determining return class of method getPublicationRules : The meta informati=
on is=20
not consistent.; nested exception is:=20
oracle.integration.thirdparty.apache.wsif.WSIFException:=20
publicationRules</span><span>&lt;/</span><span>detail</span><span>&gt;</spa=
n>=20
</div></div>
<div><span>&lt;/</span><span>part</span><span>&gt;</span> </div></div></div=
>
<div><span>&lt;/</span><span>remoteFault</span><span>&gt;</span></div></div=
></div></td></tr></tbody></table></span><br><p>
What is strange is that if within the PublicationRulesProvider I only
instantiate the return type and immediately return it without setting
it, then I arrive at the next step of my workflow.<br>
<br>
Does anyone have an idea what I did wrong?<br>
<br>
I would greatly appreciate any help to solve this issue!<br>
<br>
Kind regards!</p><auto_cleaned_body_tag></auto_cleaned_body_tag></auto_clea=
ned_body_tag></auto_cleaned_head_tag></auto_cleaned_title_tag></auto_cleane=
d_meta_tag></auto_cleaned_head_tag></auto_cleaned_html_tag></auto_cleaned_d=
octype_tag></td>
        </tr>
=09<tr width=3D"100%">
          <td class=3D"BE8E8E8" colspan=3D"2" width=3D"100%">
            <table border=3D"0" cellpadding=3D"0" cellspacing=3D"0">
              <tbody>
<tr>              </tr>
            </tbody></table>
          </td>
=09</tr>
      </tbody></table>
      <img src=3D"http://webmail.cri.lu/images/dummy.gif" border=3D"0" heig=
ht=3D"12" width=3D"1"><br>
    </td>
  </tr>
</tbody></table>
<script>
=09/*
=09var h =3D frames.top.main_mail.winLoad();
=09alert(h);
=09</script>
</BODY></HTML>
--b_01_12a79d8ea1ce46987244639dc604b4fc
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello everybody,=0A=0AI need some urgent help concerning the following prob=
lem:=0A=0AI wrote a custom Web service using WSIF which I would like to inv=
okefrom my BPEL process, pass along as input a string and want to returnas =
output a complex type message.=0AI try to set the content of the complex ty=
pe from within the Java class that is called by the WSIF interface operatio=
n.=0A=0AMy WSDL looks as follows:=0A=0A<?xml version=3D"1.0" encoding=3D"ut=
f-8" ?> =0A<wsdl:definitions xmlns:pub=3D"http://xmlns.oracle.com/Applicati=
on2/podl_soa/podl_soa_bpel/publication"=0A  targetNamespace=3D"http://xmlns=
.oracle.com/Application2/podl_soa/podl_soa_bpel/publication"=0A  xmlns:wsdl=
=3D"http://schemas.xmlsoap.org/wsdl/" xmlns:xs=3D"http://www.w3.org/2001/XM=
LSchema"=0A  xmlns:plnk=3D"http://schemas.xmlsoap.org/ws/2003/05/partner-li=
nk/"=0A  xmlns:format=3D"http://schemas.xmlsoap.org/wsdl/formatbinding/"=0A=
  xmlns:main=3D"http://xmlns.oracle.com/Application2/podl_soa/podl_soa_bpel=
"=0A  xmlns:java=3D"http://schemas.xmlsoap.org/wsdl/java/"=0A  xmlns:ncc=3D=
"http://publications.europe.eu/ncc"=0A  xmlns:arch=3D"http://publications.e=
urope.eu/archive"=0A  xmlns:par=3D"http://publications.europe.eu/parameters=
"=0A  xmlns:ext=3D"http://publications.europe.eu/external">=0A=0A    <!--ws=
dl:import namespace=3D"http://xmlns.oracle.com/Application2/podl_soa/podl_s=
oa_bpel"=0A    location=3D"../../../podl_soa_bpel.wsdl"/-->=0A=0A    <wsdl:=
types>=0A        <xs:schema>=0A            <xs:import schemaLocation=3D"../=
../../xsd/ncc_rules.xsd"=0A                     namespace=3D"http://publica=
tions.europe.eu/ncc"/>=0A            <xs:import schemaLocation=3D"../../../=
xsd/archive_rules.xsd"=0A                     namespace=3D"http://publicati=
ons.europe.eu/archive"/>=0A            <xs:import schemaLocation=3D"../../.=
./xsd/parameters.xsd"=0A                     namespace=3D"http://publicatio=
ns.europe.eu/parameters"/>=0A            <xs:import schemaLocation=3D"../..=
/../xsd/external.xsd"=0A                     namespace=3D"http://publicatio=
ns.europe.eu/external"/>=0A            <xs:complexType name=3D"PublicationR=
ules">=0A                <xs:sequence>=0A                    <xs:element na=
me=3D"ncc" type=3D"ncc:RuleSet" maxOccurs=3D"1"/>=0A                    <!-=
-xs:element name=3D"archive" type=3D"arch:ArchiveSet" maxOccurs=3D"1"/-->=
=0A                </xs:sequence>=0A            </xs:complexType>=0A       =
 </xs:schema>=0A    </wsdl:types>=0A=0A    <wsdl:message name=3D"service_re=
quest">=0A        <wsdl:part name=3D"catnum" type=3D"xs:string"/>=0A    </w=
sdl:message>=0A    <wsdl:message name=3D"service_response">=0A        <wsdl=
:part name=3D"publicationRules" type=3D"PublicationRules"/>=0A    </wsdl:me=
ssage>=0A=0A  <wsdl:portType name=3D"publication_PT">=0A    <wsdl:operation=
 name=3D"initialize">=0A      <wsdl:input message=3D"pub:service_request"/>=
=0A      <wsdl:output name=3D"getPublicationRulesOutput" message=3D"pub:ser=
vice_response"/>=0A    </wsdl:operation>=0A  </wsdl:portType>=0A=0A  <!-- J=
ava binding -->=0A  <wsdl:binding name=3D"JavaBinding" type=3D"pub:publicat=
ion_PT">=0A    <java:binding/>=0A    <format:typeMapping encoding=3D"Java" =
style=3D"Java">=0A      <format:typeMap typeName=3D"xs:string" formatType=
=3D"java.lang.String"/>=0A     <format:typeMap typeName=3D"pub:PublicationR=
ules"formatType=3D"com.oracle.xmlns.Application2.podl_soa.podl_soa_bpel.pub=
lication.PublicationRules"/>=0A      <format:typeMap typeName=3D"ncc:RuleSe=
t" formatType=3D"eu.europe.publications.ncc.RuleSet" />=0A      <format:typ=
eMap typeName=3D"ncc:NccRule" formatType=3D"eu.europe.publications.ncc.NccR=
ule" />      =0A    </format:typeMapping>=0A    <wsdl:operation name=3D"ini=
tialize">=0A      <java:operation methodName=3D"getPublicationRules" return=
Part=3D"publicationRules"/>=0A      <wsdl:input/>=0A      <wsdl:output name=
=3D"getPublicationRulesOutput"/>=0A    </wsdl:operation>=0A  </wsdl:binding=
>=0A=0A  <wsdl:service name=3D"PUBLICATION">=0A    <wsdl:port name=3D"JavaP=
ort" binding=3D"pub:JavaBinding">=0A      <java:address className=3D"Public=
ationRulesProvider"/>=0A    </wsdl:port>=0A  </wsdl:service>=0A=0A  <!-- Pa=
rtner link type -->=0A  <plnk:partnerLinkType name=3D"publication_LT">=0A  =
  <plnk:role name=3D"PublicationService">=0A      <plnk:portType name=3D"pu=
b:publication_PT"/>=0A    </plnk:role>=0A  </plnk:partnerLinkType>=0A=0A</w=
sdl:definitions>=0A=0AWithin the PublicationRulesProvides I set the content=
 of the return type PublicationRules and return it in the end.=0A=0AUnfortu=
nately when I deploy everything to the SOA server and run the test, I alway=
s receive the following exception:=0A=0A<remoteFault> <part  name=3D"summar=
y"> <summary>oracle.fabric.common.FabricException: Error while determining =
return class of method getPublicationRules : The meta information is not co=
nsistent.; nested exception is: oracle.integration.thirdparty.apache.wsif.W=
SIFException: publicationRules</summary> </part> <part  name=3D"detail"> <d=
etail>Error while determining return class of method getPublicationRules : =
The meta information is not consistent.; nested exception is: oracle.integr=
ation.thirdparty.apache.wsif.WSIFException: publicationRules</detail> </par=
t> </remoteFault>=0AWhat is strange is that if within the PublicationRulesP=
rovider I onlyinstantiate the return type and immediately return it without=
 settingit, then I arrive at the next step of my workflow.=0A=0ADoes anyone=
 have an idea what I did wrong?=0A=0AI would greatly appreciate any help to=
 solve this issue!=0A=0AKind regards!=0A              =0A/*var h =3D frames=
.top.main_mail.winLoad();alert(h);
--b_01_12a79d8ea1ce46987244639dc604b4fc--

From zlewis@example.net Thu Dec 17 01:07:52 2009
Return-Path: <zlewis@example.net>
Delivered-To: zlewis@example.net
Received: (qmail 91276 invoked from network); 17 Dec 2009 01:07:52 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 17 Dec 2009 01:07:52 -0000
Received: (qmail 98888 invoked by uid 500); 17 Dec 2009 01:07:52 -0000
Delivered-To: zlewis@example.net
Received: (qmail 98850 invoked by uid 500); 17 Dec 2009 01:07:51 -0000
Mailing-List: contact zlewis@example.net; run by ezmlm
Precedence: bulk
Reply-To: zlewis@example.net
list-help: <mailto:zlewis@example.net>
list-unsubscribe: <mailto:zlewis@example.net>
List-Post: <mailto:zlewis@example.net>
List-Id: <wsif-user.ws.apache.org>
Delivered-To: mailing list zlewis@example.net
Received: (qmail 98841 invoked by uid 99); 17 Dec 2009 01:07:51 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 01:07:51 +0000
X-ASF-Spam-Status: No, hits=-2.6 required=5.0
	tests=BAYES_00
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: domain of zlewis@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 01:07:49 +0000
Received: from isper.nabble.com ([83.161.120.155])
	by kuber.nabble.com with esmtp (Exim 4.63)
	(envelope-from <zlewis@example.net>)
	id 1NL4q0-0006W1-Uz
	for zlewis@example.net; Wed, 16 Dec 2009 17:07:28 -0800
Message-ID: <zlewis@example.net>
Date: Wed, 16 Dec 2009 17:07:28 -0800 (PST)
From: mirpuri <zlewis@example.net>
To: zlewis@example.net
Subject: ClassNotFoundException for class in wsif.jar at
 Thread.currentThread().getContextClassLoader()
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: zlewis@example.net


Hello,

I am using wsif wsif-2.0.1_IB3 to connect to a webservice to create user
accounts. Everything works great in Eclipse.

When I deployed my jars (application jars, wsif and dependencies) to
weblogic 8.1 sp6, I run into the following error: 

org.apache.wsif.WSIFException: Unable to create new mapper; nested exception
is:
        java.lang.ClassNotFoundException:
org.apache.wsif.mapping.WSIFDefaultMapper
.............
Caused by: java.lang.ClassNotFoundException:
org.apache.wsif.mapping.WSIFDefaultMapper
        at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:199)
        at
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:61)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:224)
        at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at
org.apache.wsif.mapping.WSIFMapperFactory.newMapper(WSIFMapperFactory.java:100)


The WSIFMapperFactory.class exists in wsif.jar file and makes a call to
newMapper but is unable to load org.apache.wsif.mapping.WSIFDefaultMapper
that is in the same wsif.jar file.
	
public static WSIFMapper newMapper() throws WSIFException {
		return newMapper(false);
	}


The line that it fails on is  Class c =
Class.forName(mapperClassNameBuffer.toString(), true,
Thread.currentThread().getContextClassLoader());
from the following code snippet in WSIFMapperFactory.class file

try {
                Class c =
                    Class.forName(
                        mapperClassNameBuffer.toString(),
                        true,
                        Thread.currentThread().getContextClassLoader());
                return (WSIFMapper) c.newInstance();
            } catch (ClassNotFoundException cnf) {
            	throw new WSIFException("Unable to create new mapper", cnf);
            } catch (Exception e) {
            	throw new WSIFException("Unable to create new mapper", e);
            }

Any ideas on how to fix this? I tried using Class c =
Thread.currentThread().getContextClassLoader().loadClass(mapperClassNameBuffer.toString());
but it had the same effect.

Again, the same code path works great standalone in Eclipse.

Any help/pointers would be appreciated.

Thank you!
Sunil
-- 
View this message in context: http://old.nabble.com/ClassNotFoundException-for-class-in-wsif.jar-at-Thread.currentThread%28%29.getContextClassLoader%28%29-tp26821462p26821462.html
Sent from the WSIF - User mailing list zlewis@example.net.


From zlewis@example.net Fri Dec 18 14:28:25 2009
Return-Path: <zlewis@example.net>
Delivered-To: zlewis@example.net
Received: (qmail 44203 invoked from network); 18 Dec 2009 14:28:25 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 18 Dec 2009 14:28:25 -0000
Received: (qmail 37267 invoked by uid 500); 18 Dec 2009 14:28:25 -0000
Delivered-To: zlewis@example.net
Received: (qmail 37214 invoked by uid 500); 18 Dec 2009 14:28:24 -0000
Mailing-List: contact zlewis@example.net; run by ezmlm
Precedence: bulk
Reply-To: zlewis@example.net
list-help: <mailto:zlewis@example.net>
list-unsubscribe: <mailto:zlewis@example.net>
List-Post: <mailto:zlewis@example.net>
List-Id: <wsif-user.ws.apache.org>
Delivered-To: mailing list zlewis@example.net
Received: (qmail 37205 invoked by uid 99); 18 Dec 2009 14:28:24 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 14:28:24 +0000
X-ASF-Spam-Status: No, hits=-4.0 required=10.0
	tests=RCVD_IN_DNSWL_MED,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of zlewis@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO e3.ny.us.ibm.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2009 14:28:14 +0000
Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [83.161.120.155])
	by e3.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id nBIEIaG0010165
	for <zlewis@example.net>; Fri, 18 Dec 2009 09:18:36 -0500
Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [83.161.120.155])
	by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id nBIERqi0122078
	for <zlewis@example.net>; Fri, 18 Dec 2009 09:27:52 -0500
Received: from d01av02.pok.ibm.com (loopback [83.161.120.155])
	by d01av02.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nBIERqh2031974
	for <zlewis@example.net>; Fri, 18 Dec 2009 12:27:52 -0200
Received: from D27ML601.RCHLAND.IBM.COM (d27ml601.rchland.ibm.com [83.161.120.155])
	by d01av02.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVin) with ESMTP id nBIERpGH031918
	for <zlewis@example.net>; Fri, 18 Dec 2009 12:27:52 -0200
Subject: AUTO: Anil Ambati/Raleigh/IBM is out of the office. (returning 01/04/2010)
Auto-Submitted: auto-generated
From: Anil Ambati <zlewis@example.net>
To: zlewis@example.net
Message-ID: <zlewis@example.net>
Date: Fri, 18 Dec 2009 08:27:50 -0600
X-MIMETrack: Serialize by Router on d27ml601/27/M/IBM(Release 8.0.2FP4|November 17, 2009) at
 12/18/2009 08:27:51 AM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-Virus-Checked: Checked by ClamAV on apache.org


I am out of the office until 01/04/2010.

For DWLM Controller, Work Profiler issues please contact Adrian
Vrouwenvelder/Keith Smith. For any other issues please contact my manager
Keith Rafferty.


Note: This is an automated response to your message  "Problem with WSIF
service invcation" sent on 12/14/09 5:44:09 AM.

This is the only notification you will receive while this person is away.


From zlewis@example.net Mon Dec 28 05:30:54 2009
Return-Path: <zlewis@example.net>
Delivered-To: zlewis@example.net
Received: (qmail 70591 invoked from network); 28 Dec 2009 05:30:53 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 28 Dec 2009 05:30:53 -0000
Received: (qmail 12750 invoked by uid 500); 28 Dec 2009 05:30:53 -0000
Delivered-To: zlewis@example.net
Received: (qmail 12621 invoked by uid 500); 28 Dec 2009 05:30:51 -0000
Mailing-List: contact zlewis@example.net; run by ezmlm
Precedence: bulk
Reply-To: zlewis@example.net
list-help: <mailto:zlewis@example.net>
list-unsubscribe: <mailto:zlewis@example.net>
List-Post: <mailto:zlewis@example.net>
List-Id: <wsif-user.ws.apache.org>
Delivered-To: mailing list zlewis@example.net
Received: (qmail 12520 invoked by uid 99); 28 Dec 2009 05:30:50 -0000
Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Dec 2009 05:30:50 +0000
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=HTML_MESSAGE,SPF_PASS
X-Spam-Check-By: apache.org
Received-SPF: pass (nike.apache.org: domain of zlewis@example.net designates 83.161.120.155 as permitted sender)
Received: from [83.161.120.155] (HELO mail-pw0-f49.google.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Dec 2009 05:30:42 +0000
Received: by pwj12 with SMTP id 12so7146308pwj.8
        for <multiple recipients>; Sun, 27 Dec 2009 21:30:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:date:message-id:subject
         :from:to:content-type;
        bh=HGPujdBBm0J6dkxkRT8NcEetIADvSK/cTHz1YPCJQxc=;
        b=gDY5hoiJj14Bv2nxFPDgi1p0d4Q3BvqVLqFNnVOGMARCVIYX1kOlaRxqvTKMWj/P2k
         LRBA9IrJmudhJyUg0WhX4jLLxC7856SPGgxZZ3OrEs+sw5WCgHrwjNBzXzU3houFAHC7
         U+RjeDYA6bmAigp1R6Kn4gcQg2ZGXrnUWBfjA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:date:message-id:subject:from:to:content-type;
        b=cDslxwei3ljVo9eFEuOMX4lTTLblC7jnYfXOnG+5MX3LBgfp+0FbyRlQhqvt10x/b6
         lwcls4l6br+Wxj6YNtGnwrWVfXMD5aC248HzxVT8ECkfx54Nw3p0AprWUBa5XunMqfCi
         uV2uQZIO6TWre8QGFIL0pXs2Omo4Po1c83bFM=
MIME-Version: 1.0
Received: by 83.161.120.155 with SMTP id m14mr2966622wad.216.1261978217080; 
	Sun, 27 Dec 2009 21:30:17 -0800 (PST)
Date: Sun, 27 Dec 2009 21:30:17 -0800
Message-ID: <zlewis@example.net>
Subject: Please Ignore the email with Dear friend as subject
From: Gnanaprakash Ramswami <zlewis@example.net>
To: zlewis@example.net
Content-Type: multipart/alternative; boundary=00504502e2d557fe49047bc3332a
X-Virus-Checked: Checked by ClamAV on apache.org

--00504502e2d557fe49047bc3332a
Content-Type: text/plain; charset=ISO-8859-1

Hi ,

Please ignore and delete the email that you received from my email id with a
subject 'Dear friend'

This email seems to be a spam and my account has been misused.

Sorry for the inconvenience if any.

Thanks
Gnanaprakash

--00504502e2d557fe49047bc3332a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi ,<br><br>Please ignore and delete the email that you received from my em=
ail id with a subject &#39;<span class=3D"gI">Dear friend</span>&#39;<br><b=
r>This email seems to be a spam and my account has been misused.<br><br>Sor=
ry for the inconvenience if any.<br>
<br>Thanks<br>Gnanaprakash<br>

--00504502e2d557fe49047bc3332a--

From zlewis@example.net Mon Dec 28 06:01:06 2009
Return-Path: <zlewis@example.net>
Delivered-To: zlewis@example.net
Received: (qmail 80283 invoked from network); 28 Dec 2009 06:01:05 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 28 Dec 2009 06:01:05 -0000
Received: (qmail 23475 invoked by uid 500); 28 Dec 2009 06:01:05 -0000
Delivered-To: zlewis@example.net
Received: (qmail 23411 invoked by uid 500); 28 Dec 2009 06:01:04 -0000
Mailing-List: contact zlewis@example.net; run by ezmlm
Precedence: bulk
Reply-To: zlewis@example.net
list-help: <mailto:zlewis@example.net>
list-unsubscribe: <mailto:zlewis@example.net>
List-Post: <mailto:zlewis@example.net>
List-Id: <wsif-user.ws.apache.org>
Delivered-To: mailing list zlewis@example.net
Received: (qmail 23402 invoked by uid 99); 28 Dec 2009 06:01:04 -0000
Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Dec 2009 06:01:04 +0000
X-ASF-Spam-Status: No, hits=-2.6 required=5.0
	tests=BAYES_00
X-Spam-Check-By: apache.org
Received-SPF: pass (athena.apache.org: local policy)
Received: from [83.161.120.155] (HELO sms2.toyota-europe.com) (83.161.120.155)
    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Dec 2009 06:00:56 +0000
X-AuditID: ac100466-b7b1bae000005600-f9-4b384981243d
Received: from bxlnotes04.be.tmme.com (Unknown_Domain [83.161.120.155])
	by sms2.toyota-europe.com (Toyota Mail Security) with SMTP id 47.81.22016.189483B4; Mon, 28 Dec 2009 07:00:33 +0100 (CET)
Subject: Walter Heestermans/TMME is out of the office.
From: zlewis@example.net
To: zlewis@example.net
Message-ID: <zlewis@example.net>
Date: Mon, 28 Dec 2009 07:00:30 +0100
X-MIMETrack: Serialize by Router on BXLNOTES04/TMME(Release 6.5.6 HF212|October 04, 2007) at
 28/12/2009 07:00:33
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
X-Brightmail-Tracker: AAAAARIzK18=


I will be out of the office starting  22/12/2009 and will not return until
04/01/2010.

I will respond to your message when I return. For urgent issues, contact
WebSphere Support group for Java-WebSphere related activities or Unix.Admin
group for Unix-WebSphere related activities



{'source': 'Apache Software Foundation Public Mail Archives'}