Re: Need help with Axis 1.0 to Axis 2 Migration

robertlazarski <[email protected]> Sun, 9 Feb 2025 08:07:28 -1000
Newsgroups gmane.text.xml.axis.user
Message-ID <CABpPLBXSgjtxDBBie4ssBpEg6fRdOSK7vnU_S8r2ncwZ_B064A@mail.gmail.com>
--000000000000a40b58062db977c6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

This is my best guess at what is happening in the code you posted - with
the caveat that I haven't used Axis 1.x nor a WSDL in my own projects in
many years, albeit I help maintain both areas of code.

The WSDL2Java error indicates it is expecting to conform specifically to
the RPC / Literal style - FYI, Doc / literal is somewhat more common. See
the source file SDL11ToAxisServiceBuilder and isRPC() that generates the
error.

There seems to be some type of conflict between Doc / literal configuration
and RPC / literal

The XML schema pasted shows some complex types and elements with a name
attribute. Seems wrong for RPC / literal. I don't see "binding style=3D" or
keywords like "encoded" or "literal" in what you posted but that could be a
clue.

I suggest analyzing the arguments you are using for the auto generation on
both the WSDL and Java sides. The Ant arguments on one side at least needs
to change - not necessarily both but possible so.

On Thu, Feb 6, 2025 at 9:44=E2=80=AFAM robertlazarski <robertlazarski@gmail=
.com>
wrote:

> This has been a busy week for me and the email is long over a complicated
> subject however I expect to see what advice I can give in the next few
> days.
>
> On Fri, Jan 31, 2025 at 11:15=E2=80=AFAM Debra Petta
> <[email protected]> wrote:
>
>> Hi Everyone =E2=80=93
>>
>>
>>
>> I am in the process of attempting to convert my Axis 1.0 application to
>> Axis 2 (version 1.8.2). I have been reviewing the User Guide and the
>> related documentation for Axis 2 for several weeks now, however I couldn=
=E2=80=99t
>> find any documentation that addresses my specific questions, so I hope
>> someone in this group can assist me.
>>
>>
>>
>> Basically, my current Axis 1.0 application has a server implementation
>> and an interface that is converted into client-side code.  The client th=
en
>> makes RPC calls to specific methods through the generated client stubs.
>>
>> My deploy.wsdd file (snippet below) contains several <beanMapping>
>> elements for my custom return types, so it is my assumption that I need =
to
>> use xmlbean data binding.
>>
>>
>>
>> <deployment
>>
>>   xmlns=3Dhttp://xml.apache.org/axis/wsdd/
>>
>>   xmlns:java=3Dhttp://xml.apache.org/axis/wsdd/providers/java
>>
>> >
>>
>>                 <service
>>
>>                   name=3D"VendorSvc"
>>
>>                   provider=3D"java:RPC"
>>
>>                 >
>>
>>                                 <parameter name=3D"className"
>> value=3D"com.dgi.insitusvc.ws.VendorSvcWS"/>
>>
>>                                 <parameter name=3D"allowedMethods"
>> value=3D"*"/>
>>
>>                                 <beanMapping
>> qname=3D"dgiNS:GenericResult"        xmlns:dgiNS=3D"urn:vendorsvc.dgi.co=
m"
>> languageSpecificType=3D"java:com.dgi.insitusvc.itf.GenericResult"/>
>>
>> ...
>>
>> [snip]
>>
>>
>>
>> Based on these assumptions, I converted my java2wsdl ant task
>>
>> from:
>>
>>        <echo message=3D"Generating WSDL files from server Java classes..=
."/>
>>
>>         <java fork=3D"yes" classname=3D"org.apache.axis.wsdl.Java2WSDL">
>>
>>             <arg line=3D'
>>
>>                   -o server/src/wsdl-gen/vendorsvc.wsdl
>>
>>                   -l http://localhost:8080/axis/services/VendorSvc
>>
>>                  -n "urn:com.dgi.vendorsvc"
>>
>>                  -p "com.dgi.insitusvc.itf" "urn:vendorsvc.dgi.com"
>>
>>                  com.dgi.insitusvc.ws.VendorSvcWS'/>
>>
>>             <classpath>
>>
>>                 <pathelement location=3D"build/classes"/>
>>
>>                 <pathelement location=3D"../externlib/axis.jar"/>
>>
>>                 <pathelement
>> location=3D"../externlib/commons-discovery.jar"/>
>>
>>                 <pathelement location=3D"../externlib/commons-logging.ja=
r"/>
>>
>>                 <pathelement location=3D"../externlib/wsdl4j.jar"/>
>>
>>                 <pathelement location=3D"../externlib/jaxrpc-api.jar"/>
>>
>>                 <pathelement location=3D"../externlib/xsdlib.jar"/>
>>
>>                 <pathelement location=3D"../externlib/saaj.jar"/>
>>
>>             </classpath>
>>
>>         </java>
>>
>>
>>
>> to:
>>
>>         <echo message=3D"Generating WSDL files from server Java
>> classes..."/>
>>
>>         <java fork=3D"yes" classname=3D"org.apache.ws.java2wsdl.Java2WSD=
L">
>>
>>             <arg line=3D'
>>
>>                  -o server/src/wsdl-gen
>>
>>                  -l http://localhost:8080/axis2/services/VendorSvc
>>
>>                  -tn "urn:com.dgi.vendorsvc"
>>
>>                  -p2n [com.dgi.insitusvc.itf,urn:vendorsvc.dgi.com]
>>
>>                  -cn com.dgi.insitusvc.ws.VendorSvcWS
>>
>>                  -xc com.dgi.insitusvc.itf.ParticipantVO
>>
>>                  -xc com.dgi.insitusvc.itf.PhaseVO
>>
>>                  -xc com.dgi.insitusvc.itf.TestCaseInstanceVO
>>
>>                  -xc com.dgi.insitusvc.itf.TestCasesVO
>>
>>                  -xc com.dgi.insitusvc.itf.TestCaseOverviewVO
>>
>>                  -wv 1.1
>>
>>                  -st rpc
>>
>>                  -sn VendorSvc'/>
>>
>>             <classpath>
>>
>>                 <pathelement location=3D"build/classes"/>
>>
>>                 <fileset dir=3D"externlib" includes=3D"*.jar"/>
>>
>>             </classpath>
>>
>>         </java>
>>
>>
>>
>> Running the updated task creates a VendorSvcWS.wsdl file with the schema
>> definitions for all the complex types, message/parameter elements,
>> operations and bindings.
>>
>>
>>
>> I then converted the wsdl2java ant task
>>
>> from:
>>
>>        <echo message=3D"Generating client Java classes from server WSDL
>> files..."/>
>>
>>         <java fork=3D"yes" classname=3D"org.apache.axis.wsdl.WSDL2Java">
>>
>>             <arg line=3D'-p com.dgi.client.vendorsvc -o client/src/java-=
gen
>> server/src/wsdl-gen/vendorsvc.wsdl'/>
>>
>>             <classpath>
>>
>>                 <pathelement location=3D"../externlib/axis.jar"/>
>>
>>                 <pathelement
>> location=3D"../externlib/commons-discovery.jar"/>
>>
>>                 <pathelement location=3D"../externlib/commons-logging.ja=
r"/>
>>
>>                 <pathelement location=3D"../externlib/wsdl4j.jar"/>
>>
>>                 <pathelement location=3D"../externlib/jaxrpc-api.jar"/>
>>
>>                 <pathelement location=3D"../externlib/xsdlib.jar"/>
>>
>>                 <pathelement location=3D"../externlib/saaj.jar"/>
>>
>>             </classpath>
>>
>>         </java>
>>
>> to:
>>
>>        <echo message=3D"Generating client Java classes from server WSDL
>> files..."/>
>>
>>         <java fork=3D"yes" classname=3D"org.apache.axis2.wsdl.WSDL2Java"=
>
>>
>>             <arg line=3D'
>>
>>                  -uri server/src/wsdl-gen/VendorSvcWS.wsdl
>>
>>                  -d xmlbeans
>>
>>                  -p com.dgi.client.vendorsvc
>>
>>                  -o client/src/java-gen
>>
>>                   -ssi
>>
>>                 -uw'/>
>>
>>             <classpath>
>>
>>                 <fileset dir=3D"externlib" includes=3D"*.jar"/>
>>
>>             </classpath>
>>
>>         </java>
>>
>>
>>
>> When I run the converted wsdl2java task, this exception information is
>> logged:
>>
>>
>>
>> wsdl2java:
>>
>>      [echo] Generating client Java classes from server WSDL files...
>>
>>      [java] Retrieving document at 'server/src/wsdl-gen/VendorSvcWS.wsdl=
'.
>>
>>      [java] Exception in thread "main"
>> org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSD=
L
>>
>>      [java]     at
>> org.apache.axis2.wsdl.codegen.CodeGenConfiguration.loadWsdl(CodeGenConfi=
guration.java:748)
>>
>>      [java]     at
>> org.apache.axis2.wsdl.codegen.CodegenConfigLoader.loadConfig(CodegenConf=
igLoader.java:328)
>>
>>      [java]     at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:5=
3)
>>
>>      [java]     at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:2=
4)
>>
>>      [java] Caused by: org.apache.axis2.AxisFault: The binding operation
>> validateParticipant is RPC/literal. The message parts for this operation
>> must use the type attribute as specificed by WS-I Basic Profile
>> specification (4.4.1).  Message part, parameters, violatesthis rule.
>> Please remove the element attribute and use the type attribute.
>>
>>      [java]     at
>> org.apache.axis2.AxisFault.makeFault(AxisFault.java:431)
>>
>>      [java]     at
>> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(=
WSDL11ToAxisServiceBuilder.java:408)
>>
>>      [java]     at
>> org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllS=
ervices(WSDL11ToAllAxisServicesBuilder.java:107)
>>
>>      [java]     at
>> org.apache.axis2.wsdl.codegen.CodeGenConfiguration.loadWsdl(CodeGenConfi=
guration.java:742)
>>
>>      [java]     ... 3 more
>>
>>      [java] Caused by:
>> org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingEx=
ception:
>> The binding operation validateParticipant is RPC/literal. The message pa=
rts
>> for this operation must use the type attribute as specificed by WS-I Bas=
ic
>> Profile specification (4.4.1).  Message part, parameters, violatesthis
>> rule.  Please remove the element attribute and use the type attribute.
>>
>>      [java]     at
>> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addPartToElement=
(WSDL11ToAxisServiceBuilder.java:2252)
>>
>>      [java]     at
>> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getNewComplextTy=
pe(WSDL11ToAxisServiceBuilder.java:2110)
>>
>>      [java]     at
>> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaForP=
orttype(WSDL11ToAxisServiceBuilder.java:1760)
>>
>>      [java]     at
>> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperS=
chema(WSDL11ToAxisServiceBuilder.java:1648)
>>
>>      [java]     at
>> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(=
WSDL11ToAxisServiceBuilder.java:352)
>>
>>      [java]     ... 5 more
>>
>>      [java] Java Result: 1
>>
>>
>>
>> I have pasted all references to the  =E2=80=98validateParticipant=E2=80=
=99 from the WSDL
>> below:
>>
>>
>>
>> *From the schema section:*
>>
>>         <xs:element name=3D"validateParticipant">
>>
>>                 <xs:complexType>
>>
>>                     <xs:sequence>
>>
>>                         <xs:element minOccurs=3D"0" name=3D"data"
>> nillable=3D"true" type=3D"ax22:ParticipantFullVO"/>
>>
>>                         <xs:element name=3D"useHtmlBreaks"
>> type=3D"xs:boolean"/>
>>
>>                         <xs:element name=3D"forceCheck" type=3D"xs:boole=
an"/>
>>
>>                     </xs:sequence>
>>
>>                 </xs:complexType>
>>
>>             </xs:element>
>>
>>             <xs:element name=3D"validateParticipantResponse">
>>
>>                 <xs:complexType>
>>
>>                     <xs:sequence>
>>
>>                         <xs:element minOccurs=3D"0" name=3D"return"
>> nillable=3D"true" type=3D"xs:string"/>
>>
>>                     </xs:sequence>
>>
>>                 </xs:complexType>
>>
>>             </xs:element>
>>
>>
>>
>> *Messages:*
>>
>>     <wsdl:message name=3D"validateParticipantRequest">
>>
>>         <wsdl:part name=3D"parameters" element=3D"ns:validateParticipant=
"/>
>>
>>     </wsdl:message>
>>
>>     <wsdl:message name=3D"validateParticipantResponse">
>>
>>         <wsdl:part name=3D"parameters" element
>> =3D"ns:validateParticipantResponse"/>
>>
>>     </wsdl:message>
>>
>>
>>
>> *Operation*:
>>
>>         <wsdl:operation name=3D"validateParticipant">
>>
>>             <wsdl:input message=3D"tns:validateParticipantRequest"
>> wsaw:Action=3D"urn:validateParticipant"/>
>>
>>             <wsdl:output message=3D"tns:validateParticipantResponse"
>> wsaw:Action=3D"urn:validateParticipantResponse"/>
>>
>>         </wsdl:operation>
>>
>>
>>
>>       <wsdl:operation name=3D"validateParticipant">
>>
>>             <soap:operation soapAction=3D"urn:validateParticipant"
>> style=3D"rpc"/>
>>
>>             <wsdl:input>
>>
>>                 <soap:body use=3D"literal"/>
>>
>>             </wsdl:input>
>>
>>             <wsdl:output>
>>
>>                 <soap:body use=3D"literal"/>
>>
>>             </wsdl:output>
>>
>>         </wsdl:operation>
>>
>>
>>
>> From what I can tell, it appears that the above stack trace requires som=
e
>> sort of manual intervention to convert the highlighted =E2=80=98element=
=E2=80=99 parameter
>> to =E2=80=98type=E2=80=99, however I have no idea how to resolve this is=
sue since my hope
>> was that the process of generating the WSDL and the client classes would=
 be
>> automated through ant.
>>
>>
>>
>> Is it possible that I generated the WSDL incorrectly or have called the
>> WSDL2Java with incorrect parameters?
>>
>>
>>
>> I did try to generate the source code using =E2=80=98mvn clean install=
=E2=80=99 (using
>> Maven 3.9.2) to see if I can figure out where it is failing however, I
>> cannot get past the plug-in exceptions even after following the
>> instructions in the readme to build the plugins individually.
>>
>>
>>
>> Thank you for whatever advice that you can provide.
>>
>>
>>
>> -Debra
>>
>>
>>
>

--000000000000a40b58062db977c6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>This is my best guess at what is happening in the cod=
e you posted - with the caveat that I haven&#39;t used Axis 1.x nor a WSDL =
in my own projects in many years, albeit I help maintain both areas of code=
. <br></div><div><br></div><div>The WSDL2Java error indicates it is expecti=
ng to conform specifically to the RPC / Literal style - FYI, Doc / literal =
is somewhat more common. See the source file <span style=3D"font-family:mon=
ospace"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">=
SDL11ToAxisService</span>Builder and isRPC() that generates the error. </sp=
an><br></div><div><br></div><div>There seems to be some type of conflict be=
tween Doc / literal configuration and RPC / literal=C2=A0 <br></div><div><b=
r></div><div>The XML schema pasted shows some complex types and elements wi=
th a name attribute. Seems wrong for RPC / literal. I don&#39;t see &quot;<=
span style=3D"font-family:monospace"><span style=3D"color:rgb(0,0,0);backgr=
ound-color:rgb(255,255,255)">bindi</span>ng style=3D</span>&quot; or keywor=
ds like &quot;encoded&quot; or &quot;literal&quot; in what you posted but t=
hat could be a clue.=C2=A0</div><div><br></div><div>I suggest analyzing the=
 arguments you are using for the auto generation on both the WSDL and Java =
sides. The Ant arguments on one side at least needs to change - not necessa=
rily both but possible so. <br></div></div><br><div class=3D"gmail_quote gm=
ail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Feb 6, 2=
025 at 9:44=E2=80=AFAM robertlazarski &lt;<a href=3D"mailto:robertlazarski@=
gmail.com">[email protected]</a>&gt; wrote:<br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>This has been a bu=
sy week for me and the email is long over a complicated subject however I e=
xpect to see what advice I can give in the next few days. <br></div></div><=
br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri,=
 Jan 31, 2025 at 11:15=E2=80=AFAM Debra Petta &lt;[email protected].=
invalid&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x"><div>





<div lang=3D"EN-US">
<div>
<p class=3D"MsoNormal">Hi Everyone =E2=80=93<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">I am in the process of attempting to convert my Axis=
 1.0 application to Axis 2 (version 1.8.2). I have been reviewing the User =
Guide and the related documentation for Axis 2 for several weeks now, howev=
er I couldn=E2=80=99t find any documentation
 that addresses my specific questions, so I hope someone in this group can =
assist me.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Basically, my current Axis 1.0 application has a ser=
ver implementation and an interface that is converted into client-side code=
.=C2=A0 The client then makes RPC calls to specific methods through the gen=
erated client stubs.<u></u><u></u></p>
<p class=3D"MsoNormal">My deploy.wsdd file (snippet below) contains several=
 &lt;beanMapping&gt; elements for my custom return types, so it is my assum=
ption that I need to use xmlbean data binding.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">&lt;deployment<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0 xmlns=3D<a href=3D"http://xml.apache.org/axis=
/wsdd/" target=3D"_blank">http://xml.apache.org/axis/wsdd/</a><u></u><u></u=
></p>
<p class=3D"MsoNormal">=C2=A0 xmlns:java=3D<a href=3D"http://xml.apache.org=
/axis/wsdd/providers/java" target=3D"_blank">http://xml.apache.org/axis/wsd=
d/providers/java</a><u></u><u></u></p>
<p class=3D"MsoNormal">&gt;<u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;service<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 name=3D&quot;VendorSvc&quot;=
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 provider=3D&quot;java:RPC&qu=
ot;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;parameter =
name=3D&quot;className&quot; value=3D&quot;com.dgi.insitusvc.ws.VendorSvcWS=
&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;parameter =
name=3D&quot;allowedMethods&quot; value=3D&quot;*&quot;/&gt;<u></u><u></u><=
/p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;beanMappin=
g qname=3D&quot;dgiNS:GenericResult&quot;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 xmlns:dgiNS=3D&quot;urn:<a href=3D"http://vendorsvc.dgi.com" targ=
et=3D"_blank">vendorsvc.dgi.com</a>&quot; languageSpecificType=3D&quot;java=
:com.dgi.insitusvc.itf.GenericResult&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">...<u></u><u></u></p>
<p class=3D"MsoNormal">[snip]<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Based on these assumptions, I converted my java2wsdl=
 ant task
<u></u><u></u></p>
<p class=3D"MsoNormal">from:<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;echo messag=
e=3D&quot;Generating WSDL files from server Java classes...&quot;/&gt;<u></=
u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;java =
fork=3D&quot;yes&quot; classname=3D&quot;org.apache.axis.wsdl.Java2WSDL&quo=
t;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;arg line=3D&#39;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -o server/src/wsdl-gen/=
vendorsvc.wsdl=C2=A0 <u></u>
<u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0-l <a href=3D"http=
://localhost:8080/axis/services/VendorSvc" target=3D"_blank">
http://localhost:8080/axis/services/VendorSvc</a> <u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0-n &quot;urn:com.dgi.ven=
dorsvc&quot; <u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0-p &quot;com.dgi.insitus=
vc.itf&quot; &quot;urn:<a href=3D"http://vendorsvc.dgi.com" target=3D"_blan=
k">vendorsvc.dgi.com</a>&quot;
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0com.dgi.insitusvc.ws.Ven=
dorSvcWS&#39;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;classpath&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;bu=
ild/classes&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/axis.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/commons-discovery.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/commons-logging.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/wsdl4j.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/jaxrpc-api.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/xsdlib.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/saaj.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;/classpath&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/java=
&gt;<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">to:<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;echo =
message=3D&quot;Generating WSDL files from server Java classes...&quot;/&gt=
;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;java =
fork=3D&quot;yes&quot; classname=3D&quot;org.apache.ws.java2wsdl.Java2WSDL&=
quot;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;arg line=3D&#39;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -o server/src/wsdl-gen<u></u>=
<u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -l <a href=3D"http://localhos=
t:8080/axis2/services/VendorSvc" target=3D"_blank">
http://localhost:8080/axis2/services/VendorSvc</a> <u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0-tn &quot;urn:com.dgi.ve=
ndorsvc&quot; <u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0-p2n [com.dgi.insitusvc.=
itf,urn:<a href=3D"http://vendorsvc.dgi.com" target=3D"_blank">vendorsvc.dg=
i.com</a>]
<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0-cn com.dgi.insitusvc.ws=
.VendorSvcWS<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -xc com.dgi.insitusvc.itf.Par=
ticipantVO<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -xc com.dgi.insitusvc.itf.Pha=
seVO<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -xc com.dgi.insitusvc.itf.Tes=
tCaseInstanceVO<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -xc com.dgi.insitusvc.itf.Tes=
tCasesVO<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -xc com.dgi.insitusvc.itf.Tes=
tCaseOverviewVO<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0-wv 1.1<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0-st rpc<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -sn VendorSvc&#39;/&gt;<u></u=
><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;classpath&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;bu=
ild/classes&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;fileset dir=3D&quot;externlib&q=
uot; includes=3D&quot;*.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;/classpath&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/java=
&gt;<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Running the updated task creates a VendorSvcWS.wsdl =
file with the schema definitions for all the complex types, message/paramet=
er elements, operations and bindings.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">I then converted the wsdl2java ant task <u></u><u></=
u></p>
<p class=3D"MsoNormal">from:<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;echo messag=
e=3D&quot;Generating client Java classes from server WSDL files...&quot;/&g=
t;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;java =
fork=3D&quot;yes&quot; classname=3D&quot;org.apache.axis.wsdl.WSDL2Java&quo=
t;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;arg line=3D&#39;-p com.dgi.client.vendorsvc -o client/s=
rc/java-gen server/src/wsdl-gen/vendorsvc.wsdl&#39;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;classpath&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/axis.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/commons-discovery.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/commons-logging.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/wsdl4j.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/jaxrpc-api.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/xsdlib.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;pathelement location=3D&quot;..=
/externlib/saaj.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;/classpath&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/java=
&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">to:<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;echo messag=
e=3D&quot;Generating client Java classes from server WSDL files...&quot;/&g=
t;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;java =
fork=3D&quot;yes&quot; classname=3D&quot;org.apache.axis2.wsdl.WSDL2Java&qu=
ot;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;arg line=3D&#39;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -uri server/src/wsdl-gen/Vend=
orSvcWS.wsdl<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -d xmlbeans<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -p com.dgi.client.vendorsvc <=
u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0-o client/src/java-gen<u=
></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0 -ssi<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -uw&#39;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;classpath&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;fileset dir=3D&quot;externlib&q=
uot; includes=3D&quot;*.jar&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;/classpath&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/java=
&gt;<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">When I run the converted wsdl2java task, this except=
ion information is logged:<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">wsdl2java:<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [echo] Generating client Ja=
va classes from server WSDL files...<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java] Retrieving document =
at &#39;server/src/wsdl-gen/VendorSvcWS.wsdl&#39;.<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java] Exception in thread =
&quot;main&quot; org.apache.axis2.wsdl.codegen.CodeGenerationException: Err=
or parsing WSDL<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.wsdl.codegen.CodeGenConfiguration.loadWsdl(CodeGenC=
onfiguration.java:748)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.wsdl.codegen.CodegenConfigLoader.loadConfig(Codegen=
ConfigLoader.java:328)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:53)<u></u><u></u=
></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)<u></u><u></u=
></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java] Caused by: org.apach=
e.axis2.AxisFault: The binding operation validateParticipant is RPC/literal=
. The message parts for this operation must use the type attribute as speci=
ficed by WS-I Basic Profile specification (4.4.1).=C2=A0 Message
 part, parameters, violatesthis rule.=C2=A0 Please remove the element attri=
bute and use the type attribute.<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.AxisFault.makeFault(AxisFault.java:431)<u></u><u></=
u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServ=
ice(WSDL11ToAxisServiceBuilder.java:408)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populate=
AllServices(WSDL11ToAllAxisServicesBuilder.java:107)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.wsdl.codegen.CodeGenConfiguration.loadWsdl(CodeGenC=
onfiguration.java:742)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 ... 3 more<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java] Caused by: org.apach=
e.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException: The=
 binding operation validateParticipant is RPC/literal. The message parts fo=
r this operation must use the type attribute as specificed
 by WS-I Basic Profile specification (4.4.1).=C2=A0 Message part, parameter=
s, violatesthis rule.=C2=A0 Please remove the element attribute and use the=
 type attribute.<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addPartToEle=
ment(WSDL11ToAxisServiceBuilder.java:2252)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getNewComple=
xtType(WSDL11ToAxisServiceBuilder.java:2110)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchema=
ForPorttype(WSDL11ToAxisServiceBuilder.java:1760)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrap=
perSchema(WSDL11ToAxisServiceBuilder.java:1648)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServ=
ice(WSDL11ToAxisServiceBuilder.java:352)<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java]=C2=A0=C2=A0=C2=A0=C2=
=A0 ... 5 more<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java] Java Result: 1<u></u=
><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">I have pasted all references to the =C2=A0=E2=80=98v=
alidateParticipant=E2=80=99 from the WSDL below:<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal"><u>From the schema section:<u></u><u></u></u></p>
<p class=3D"MsoNormal">=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0&lt;xs:el=
ement name=3D&quot;validateParticipant&quot;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;xs:complexType&gt;<u></u><u></u=
></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;xs:sequ=
ence&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 &lt;xs:element minOccurs=3D&quot;0&quot; name=3D&quot;data&quo=
t; nillable=3D&quot;true&quot; type=3D&quot;ax22:ParticipantFullVO&quot;/&g=
t;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 &lt;xs:element name=3D&quot;useHtmlBreaks&quot; type=3D&quot;x=
s:boolean&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 &lt;xs:element name=3D&quot;forceCheck&quot; type=3D&quot;xs:b=
oolean&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/xs:seq=
uence&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/xs:complexType&gt;<u></u><u></=
u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;/xs:element&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;xs:element name=3D&quot;validateParticipantResponse&quo=
t;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;xs:complexType&gt;<u></u><u></u=
></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;xs:sequ=
ence&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 &lt;xs:element minOccurs=3D&quot;0&quot; name=3D&quot;return&q=
uot; nillable=3D&quot;true&quot; type=3D&quot;xs:string&quot;/&gt;<u></u><u=
></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/xs:seq=
uence&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/xs:complexType&gt;<u></u><u></=
u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;/xs:element&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0<u></u><u></u></p>
<p class=3D"MsoNormal"><u>Messages:<u></u><u></u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 &lt;wsdl:message name=3D&quot;val=
idateParticipantRequest&quot;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;wsdl:=
part name=3D&quot;parameters&quot; <span style=3D"background:yellow">
element</span>=3D&quot;ns:validateParticipant&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 &lt;/wsdl:message&gt;<u></u><u></=
u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 &lt;wsdl:message name=3D&quot;val=
idateParticipantResponse&quot;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;wsdl:=
part name=3D&quot;parameters&quot; <span style=3D"background:yellow">
element</span>=3D&quot;ns:validateParticipantResponse&quot;/&gt;<u></u><u><=
/u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 &lt;/wsdl:message&gt;<u></u><u></=
u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal"><u>Operation</u>:<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;wsdl:=
operation name=3D&quot;validateParticipant&quot;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;wsdl:input message=3D&quot;tns:validateParticipantReque=
st&quot; wsaw:Action=3D&quot;urn:validateParticipant&quot;/&gt;<u></u><u></=
u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;wsdl:output message=3D&quot;tns:validateParticipantResp=
onse&quot; wsaw:Action=3D&quot;urn:validateParticipantResponse&quot;/&gt;<u=
></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/wsdl=
:operation&gt;<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;wsdl:operation na=
me=3D&quot;validateParticipant&quot;&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;soap:operation soapAction=3D&quot;urn:validateParticipa=
nt&quot; style=3D&quot;rpc&quot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;wsdl:input&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;soap:body use=3D&quot;literal&q=
uot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;/wsdl:input&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;wsdl:output&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;soap:body use=3D&quot;literal&q=
uot;/&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 &lt;/wsdl:output&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &lt;/wsdl=
:operation&gt;<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">From what I can tell, it appears that the above stac=
k trace requires some sort of manual intervention to convert the highlighte=
d =E2=80=98element=E2=80=99 parameter to =E2=80=98type=E2=80=99, however I =
have no idea how to resolve this issue since my hope was that the
 process of generating the WSDL and the client classes would be automated t=
hrough ant.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Is it possible that I generated the WSDL incorrectly=
 or have called the WSDL2Java with incorrect parameters?=C2=A0
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">I did try to generate the source code using =E2=80=
=98mvn clean install=E2=80=99 (using Maven 3.9.2) to see if I can figure ou=
t where it is failing however, I cannot get past the plug-in exceptions eve=
n after following the instructions in the readme to
 build the plugins individually.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">Thank you for whatever advice that you can provide.<=
u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">-Debra<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div>

</div></blockquote></div>
</blockquote></div>

--000000000000a40b58062db977c6--