I thnk by the look of it , the iisue is how yr mthod name and inpout raument name are different.
According to new spech JSr-224 which is what is used for these tools, yr method name should be same as input arguement name.
Please read the spec and you will discover more, new spec is very pedantic about these conventions.
I have enclosed a WSDL for Doc/Lit wraped style of service to give you hints, this works with Wsconsume
| <?xml version="1.0" encoding="UTF-8"?>
| <wsdl:definitions name="matt_HelloWorld3"
| targetNamespace="http://www.superpartners.com.au/matt.HelloWorld3"
| xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
| xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
| xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
| xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
| xmlns:tns="http://www.superpartners.com.au/matt.HelloWorld3">
| <wsdl:types>
|
| <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| targetNamespace="http://www.superpartners.com.au/matt.HelloWorld3"
| xmlns:edm="http://www.superpartners.com.au/matt.HelloWorld3">
|
| <xsd:element name="HelloWorld" type="edm:HelloWorldReq" />
|
| <xsd:complexType name="HelloWorldReq">
| <xsd:sequence>
| <xsd:element minOccurs='0' name='id'
| type='xsd:string' />
| </xsd:sequence>
| </xsd:complexType>
|
| <xsd:element name="HelloWorldResponse"
| type="edm:HelloWorldRespons" />
|
| <xsd:complexType name="HelloWorldRespons">
| <xsd:sequence>
| <xsd:element minOccurs='0' name='result'
| type='xsd:string' />
| </xsd:sequence>
| </xsd:complexType>
| </xsd:schema>
|
| </wsdl:types>
|
| <wsdl:message name="HelloWorldIn">
| <wsdl:part name="HelloWorld" element="tns:HelloWorld" />
| </wsdl:message>
|
| <wsdl:message name="HelloWorldOutput">
| <wsdl:part name="HelloWorldResponse"
| element="tns:HelloWorldResponse" />
| </wsdl:message>
|
| <wsdl:portType name="matt_HelloWorld3PortType">
| <wsdl:operation name="HelloWorld">
| <wsdl:input message="tns:HelloWorldIn" />
| <wsdl:output message="tns:HelloWorldOutput" />
| </wsdl:operation>
| </wsdl:portType>
|
| <wsdl:binding name="matt_HelloWorld3Binding"
| type="tns:matt_HelloWorld3PortType">
| <soap:binding style="document"
| transport="http://schemas.xmlsoap.org/soap/http" />
| <wsdl:operation name="HelloWorld">
| <soap:operation soapAction="" />
| <wsdl:input>
| <soap:body use="literal" />
| </wsdl:input>
| <wsdl:output>
| <soap:body use="literal" />
| </wsdl:output>
| </wsdl:operation>
| </wsdl:binding>
|
| <wsdl:service name="matt_HelloWorld3Service">
| <wsdl:port name="matt_HelloWorld3Port0"
| binding="tns:matt_HelloWorld3Binding">
| <soap:address
| location="http://spthd01:5565/soap/DocLiteral" />
| </wsdl:port>
| </wsdl:service>
| </wsdl:definitions>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081933#4081933
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081933
Well new tool sets provide wsconsume nd wsprovide are built for Jax-WS style of web services and are using annotations(JSR -181) which is part of Jax-WS spec (Jsr 224).
Old tools like wstools are not using annotions for services, they are providing Jsr-109 based service and JAX-RPC (JSR 101) style web service.
SO if you want to move to Jax-ws style of web service then use wscosnume and wsprovide, but if you want to continue in Jax-RPC style of web service then use wstools.
I hope this helps.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081931#4081931
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081931
Have you tried updating to New JBoss WS stack which is out now - JbossWs 2.0.1 GA. Just download that and deploy it and then see what do u get.
You are using Doc Literal wrapped style of service.
I would say use wsconsume ans wsprovide which comes in new jbossws stack and is more Jax Ws complaint as compared o the one shipped in Jboss4.0.4
If your consumer and provider are both using same stack then it should work seamlessly
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081930#4081930
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081930