Re: Need help with Axis 1.0 to Axis 2 Migration
robertlazarski <[email protected]> Sun, 9 Feb 2025 09:03:46 -1000
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CABpPLBWRsis6WP1QaeoHhYRGx=b1NEx8k_VJ285kfi=oy57zfQ@mail.gmail.com> |
--00000000000002aeeb062dba4133 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Not sure I understand your question about the source code zip, do you not see the file I referenced - ./modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilde= r.java? You can also use a browser on Github, though the code has been updated for the 2.0.0 release that is going out very soon - with major changes for jakarta and EE 10 requirements for Tomcat 11 and others. . https://github.com/apache/axis-axis2-java-core On Sun, Feb 9, 2025 at 8:50=E2=80=AFAM Debra Petta <[email protected]= m.invalid> wrote: > Hi Robert =E2=80=93 > > > > Thank you for your reply. Can you point me to where I can find the actua= l > source code for version 1.8.2? > > I downloaded the Source distribution along with the binary distribution > for version 1.8.2 from > > https://axis.apache.org/axis2/java/core/download.html, however the > source code is not included > > in the associated zip file and it seems to require a Maven build, which > doesn=E2=80=99t work for me. > > > > Is there an easier way to get the source code? If not, I will attempt to > build it again and provide you > > with the Maven error log. > > > > Thanks for your help! > > > > -Debra > > > > *From:* robertlazarski <[email protected]> > *Sent:* Sunday, February 9, 2025 12:07 PM > *To:* [email protected] > *Cc:* [email protected] > *Subject:* Re: Need help with Axis 1.0 to Axis 2 Migration > > > > 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 o= n > both the WSDL and Java sides. The Ant arguments on one side at least need= s > to change - not necessarily both but possible so. > > > > On Thu, Feb 6, 2025 at 9:44=E2=80=AFAM robertlazarski <robertlazarski@gma= il.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 an= d > an interface that is converted into client-side code. The client then > 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 t= o > 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.com= " > 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.jar= "/> > > <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.Java2WSDL= "> > > <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-g= en > 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.jar= "/> > > <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 WSDL > > [java] at > org.apache.axis2.wsdl.codegen.CodeGenConfiguration.loadWsdl(CodeGenConfig= uration.java:748) > > [java] at > org.apache.axis2.wsdl.codegen.CodegenConfigLoader.loadConfig(CodegenConfi= gLoader.java:328) > > [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:53= ) > > [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24= ) > > [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:43= 1) > > [java] at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(W= SDL11ToAxisServiceBuilder.java:408) > > [java] at > org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllSe= rvices(WSDL11ToAllAxisServicesBuilder.java:107) > > [java] at > org.apache.axis2.wsdl.codegen.CodeGenConfiguration.loadWsdl(CodeGenConfig= uration.java:742) > > [java] ... 3 more > > [java] Caused by: > org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingExc= eption: > The binding operation validateParticipant is RPC/literal. The message par= ts > for this operation must use the type attribute as specificed by WS-I Basi= c > 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.getNewComplextTyp= e(WSDL11ToAxisServiceBuilder.java:2110) > > [java] at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaForPo= rttype(WSDL11ToAxisServiceBuilder.java:1760) > > [java] at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperSc= hema(WSDL11ToAxisServiceBuilder.java:1648) > > [java] at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(W= SDL11ToAxisServiceBuilder.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:boolea= n"/> > > </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 some > 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 iss= ue 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 > > > > --00000000000002aeeb062dba4133 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Not sure I understand your question about the source = code zip, do you not see the file I referenced -=C2=A0<span style=3D"font-f= amily:monospace"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,2= 55,255)">./modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServ= iceBuilder.j</span>ava? <br></span></div><div><span style=3D"font-family:mo= nospace"><br></span></div><div>You can also use a browser on Github, though= the code has been updated for the 2.0.0 release that is going out very soo= n - with major changes for jakarta and EE 10 requirements for Tomcat 11 and= others. . <br></div><div><br></div><div><a href=3D"https://github.com/apac= he/axis-axis2-java-core">https://github.com/apache/axis-axis2-java-core</a>= </div><div><span style=3D"font-family:monospace"></span></div> <br></div><b= r><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class= =3D"gmail_attr">On Sun, Feb 9, 2025 at 8:50=E2=80=AFAM Debra Petta <debr= [email protected]> wrote:<br></div><blockquote class=3D"gmail= _quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204= ,204);padding-left:1ex"><div class=3D"msg-2805098084529640966"> <div lang=3D"EN-US" style=3D"overflow-wrap: break-word;"> <div class=3D"m_-2805098084529640966WordSection1"> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif">Hi Robert =E2=80=93<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif">Thank you for your reply.=C2=A0 Can you point me to w= here I can find the actual source code for version 1.8.2?=C2=A0 <u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif">I downloaded the Source distribution along with the b= inary distribution for version 1.8.2 from <u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif"><a href=3D"https://axis.apache.org/axis2/java/core/do= wnload.html" target=3D"_blank">https://axis.apache.org/axis2/java/core/down= load.html</a>,=C2=A0 however the source code is not =C2=A0included <u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif">in the associated zip file and it seems to require a = Maven build, which doesn=E2=80=99t work for me.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif">Is there an easier way to get the source code?=C2=A0 = If not, I will attempt to build it again and provide you<u></u><u></u></spa= n></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif">with the Maven error log.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif">Thanks for your help!<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif"><u></u>=C2=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif">-Debra<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:"Cali= bri",sans-serif"><u></u>=C2=A0<u></u></span></p> <div style=3D"border-width:1pt medium medium;border-style:solid none none;b= order-color:rgb(225,225,225) currentcolor currentcolor;padding:3pt 0in 0in"= > <p class=3D"MsoNormal"><b><span style=3D"font-size:11pt;font-family:"C= alibri",sans-serif">From:</span></b><span style=3D"font-size:11pt;font= -family:"Calibri",sans-serif"> robertlazarski <<a href=3D"mail= to:[email protected]" target=3D"_blank">[email protected]</a>= > <br> <b>Sent:</b> Sunday, February 9, 2025 12:07 PM<br> <b>To:</b> [email protected]<br> <b>Cc:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">j= [email protected]</a><br> <b>Subject:</b> Re: Need help with Axis 1.0 to Axis 2 Migration<u></u><u></= u></span></p> </div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div> <div> <p class=3D"MsoNormal">This is my best guess at what is happening in the co= de 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 cod= e. <u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">The WSDL2Java error indicates it is expecting to con= form specifically to the RPC / Literal style - FYI, Doc / literal is somewh= at more common. See the source file <span style=3D"font-family:"Courier New";color:black;background:w= hite">SDL11ToAxisService</span><span style=3D"font-family:"Courier New= "">Builder and isRPC() that generates the error. </span><u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">There seems to be some type of conflict between Doc = / literal configuration and RPC / literal=C2=A0 <u></u><u></u></p> </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">The XML schema pasted shows some complex types and e= lements with a name attribute. Seems wrong for RPC / literal. I don't s= ee "<span style=3D"font-family:"Courier New";color:black;bac= kground:white">bindi</span><span style=3D"font-family:"Courier New&quo= t;">ng style=3D</span>" or keywords like "encoded" or "litera= l" in what you posted but that could be a clue.=C2=A0<u></u><u></u></p= > </div> <div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> </div> <div> <p class=3D"MsoNormal">I suggest analyzing the arguments you are using for = the auto generation on both the WSDL and Java sides. The Ant arguments on o= ne side at least needs to change - not necessarily both but possible so. <u></u><u></u></p> </div> </div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div> <div> <p class=3D"MsoNormal">On Thu, Feb 6, 2025 at 9:44<span style=3D"font-famil= y:"Arial",sans-serif">=E2=80=AF</span>AM robertlazarski <<a hr= ef=3D"mailto:[email protected]" target=3D"_blank">robertlazarski@gma= il.com</a>> wrote:<u></u><u></u></p> </div> <blockquote style=3D"border-width:medium medium medium 1pt;border-style:non= e none none solid;border-color:currentcolor currentcolor currentcolor rgb(2= 04,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"> <div> <div> <p class=3D"MsoNormal">This has been a busy week for me and the email is lo= ng over a complicated subject however I expect to see what advice I can giv= e in the next few days. <u></u><u></u></p> </div> </div> <p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p> <div> <div> <p class=3D"MsoNormal">On Fri, Jan 31, 2025 at 11:15<span style=3D"font-fam= ily:"Arial",sans-serif">=E2=80=AF</span>AM Debra Petta <<a hre= f=3D"mailto:[email protected]" target=3D"_blank">debrap@drum= mondgroup.com.invalid</a>> wrote:<u></u><u></u></p> </div> <blockquote style=3D"border-width:medium medium medium 1pt;border-style:non= e none none solid;border-color:currentcolor currentcolor currentcolor rgb(2= 04,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"> <div> <div> <div> <p class=3D"MsoNormal">Hi Everyone =E2=80=93<u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0<u></u><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, however 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">=C2=A0<u></u><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 generated client stubs.<u></u><u></u></p> <p class=3D"MsoNormal">My deploy.wsdd file (snippet below) contains several= <beanMapping> 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">=C2=A0<u></u><u></u></p> <p class=3D"MsoNormal"><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">>=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 <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"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 provider=3D"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 ><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 <parameter = name=3D"className" value=3D"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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <parameter = name=3D"allowedMethods" value=3D"*"/><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 <beanMappin= g qname=3D"dgiNS:GenericResult"=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 xmlns:dgiNS=3D"urn:<a href=3D"http://vendorsvc.dgi.com" targ= et=3D"_blank">vendorsvc.dgi.com</a>" languageSpecificType=3D"java= :com.dgi.insitusvc.itf.GenericResult"/><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">=C2=A0<u></u><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 <echo messag= e=3D"Generating WSDL files from server Java classes..."/><u></= u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <java = fork=3D"yes" classname=3D"org.apache.axis.wsdl.Java2WSDL&quo= 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 <arg line=3D'<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 "urn:com.dgi.ven= dorsvc" <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 "com.dgi.insitus= vc.itf" "urn:<a href=3D"http://vendorsvc.dgi.com" target=3D"_blan= k">vendorsvc.dgi.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=A0com.dgi.insitusvc.ws.Ven= dorSvcWS'/><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 <classpath><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 <pathelement location=3D"bu= ild/classes"/><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 <pathelement location=3D"..= /externlib/axis.jar"/><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 <pathelement location=3D"..= /externlib/commons-discovery.jar"/><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 <pathelement location=3D"..= /externlib/commons-logging.jar"/><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 <pathelement location=3D"..= /externlib/wsdl4j.jar"/><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 <pathelement location=3D"..= /externlib/jaxrpc-api.jar"/><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 <pathelement location=3D"..= /externlib/xsdlib.jar"/><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 <pathelement location=3D"..= /externlib/saaj.jar"/><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 </classpath><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </java= ><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0<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=C2=A0 <echo = message=3D"Generating WSDL files from server Java classes..."/>= ;<u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <java = fork=3D"yes" classname=3D"org.apache.ws.java2wsdl.Java2WSDL&= 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 <arg line=3D'<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://localhost: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 "urn:com.dgi.ve= ndorsvc" <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'/><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 <classpath><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 <pathelement location=3D"bu= ild/classes"/><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 <fileset dir=3D"externlib&q= uot; includes=3D"*.jar"/><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 </classpath><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </java= ><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0<u></u><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">=C2=A0<u></u><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 <echo messag= e=3D"Generating client Java classes from server WSDL files..."/&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 <java = fork=3D"yes" classname=3D"org.apache.axis.wsdl.WSDL2Java&quo= 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 <arg line=3D'-p com.dgi.client.vendorsvc -o client/s= rc/java-gen server/src/wsdl-gen/vendorsvc.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 <classpath><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 <pathelement location=3D"..= /externlib/axis.jar"/><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 <pathelement location=3D"..= /externlib/commons-discovery.jar"/><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 <pathelement location=3D"..= /externlib/commons-logging.jar"/><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 <pathelement location=3D"..= /externlib/wsdl4j.jar"/><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 <pathelement location=3D"..= /externlib/jaxrpc-api.jar"/><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 <pathelement location=3D"..= /externlib/xsdlib.jar"/><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 <pathelement location=3D"..= /externlib/saaj.jar"/><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 </classpath><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </java= ><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 <echo messag= e=3D"Generating client Java classes from server WSDL files..."/&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 <java = fork=3D"yes" classname=3D"org.apache.axis2.wsdl.WSDL2Java&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 <arg line=3D'<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'/><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 <classpath><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 <fileset dir=3D"externlib&q= uot; includes=3D"*.jar"/><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 </classpath><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </java= ><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0<u></u><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">=C2=A0<u></u><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 'server/src/wsdl-gen/VendorSvcWS.wsdl'.<u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0 [java] Exception in thread = "main" 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 specificed by WS-I Basic Profile specification (4.4.1).=C2=A0 Message part= , parameters, 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.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 for this operation must use the type attribute as specificed by WS-I Basic= Profile specification (4.4.1).=C2=A0 Message part, parameters, violatesthi= s rule.=C2=A0 Please remove the element attribute and use the type attribut= e.<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">=C2=A0<u></u><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">=C2=A0<u></u><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<xs:el= ement name=3D"validateParticipant"><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 <xs:complexType><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 <xs:sequ= ence><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 <xs:element minOccurs=3D"0" name=3D"data&quo= t; nillable=3D"true" type=3D"ax22:ParticipantFullVO"/&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 <xs:element name=3D"useHtmlBreaks" type=3D"x= s:boolean"/><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 <xs:element name=3D"forceCheck" type=3D"xs:b= oolean"/><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 </xs:seq= uence><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 </xs:complexType><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 </xs:element><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 <xs:element name=3D"validateParticipantResponse&quo= 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 <xs:complexType><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 <xs:sequ= ence><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 <xs:element minOccurs=3D"0" name=3D"return&q= uot; nillable=3D"true" type=3D"xs:string"/><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 </xs:seq= uence><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 </xs:complexType><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 </xs:element><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 <wsdl:message name=3D"val= idateParticipantRequest"><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:= part name=3D"parameters" <span style=3D"color:black;background:yellow">element</span>=3D"ns:val= idateParticipant"/><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 </wsdl:message><u></u><u></= u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 <wsdl:message name=3D"val= idateParticipantResponse"><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:= part name=3D"parameters" <span style=3D"color:black;background:yellow">element</span>=3D"ns:val= idateParticipantResponse"/><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0 </wsdl:message><u></u><u></= u></p> <p class=3D"MsoNormal">=C2=A0<u></u><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 <wsdl:= operation name=3D"validateParticipant"><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 <wsdl:input message=3D"tns:validateParticipantReque= st" wsaw:Action=3D"urn:validateParticipant"/><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 <wsdl:output message=3D"tns:validateParticipantResp= onse" wsaw:Action=3D"urn:validateParticipantResponse"/><u= ></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </wsdl= :operation><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0<u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:operation na= me=3D"validateParticipant"><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 <soap:operation soapAction=3D"urn:validateParticipa= nt" style=3D"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 <wsdl:input><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 <soap:body use=3D"literal&q= uot;/><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 </wsdl:input><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 <wsdl:output><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 <soap:body use=3D"literal&q= uot;/><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 </wsdl:output><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </wsdl= :operation><u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0<u></u><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 gener= ating the WSDL and the client classes would be automated through ant.<u></u= ><u></u></p> <p class=3D"MsoNormal">=C2=A0<u></u><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">=C2=A0<u></u><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 even after following the instructions in the readme to build the plugins i= ndividually.<u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0<u></u><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">=C2=A0<u></u><u></u></p> <p class=3D"MsoNormal">-Debra<u></u><u></u></p> <p class=3D"MsoNormal">=C2=A0<u></u><u></u></p> </div> </div> </div> </blockquote> </div> </blockquote> </div> </div> </div> </div></blockquote></div> --00000000000002aeeb062dba4133--