The call to the webservice works fine but the parameter are null (or 0 in case of int).
I use a AJAX- Client and send directly the xml.
the Bean:
| @WebService(
| endpointInterface="com.dooris.ws.TheServicePortType",
| targetNamespace="http://www.tai.it/TheService",
| serviceName="TheService",
| portName="TheServiceSOAP"
| )
| @Stateless
| public class TheServiceImpl implements TheServiceSessionBean
| {
| public final String getHalloWorld()
| {
| return "Hallo Welt ";
| }
|
| public final String sayHallo(int iNameGot)
| {
| return "Hallo " + iNameGot;
| }
| }
|
the call (xml):
| <?xml version='1.0' encoding='utf-8'?><soap:Envelope
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soa...
xmlns='http://www.tai.it/TheService'><arg0>5567</arg0></sayHallo></soap:Body></soap:Envelope>
and the response (xml)
Status:200
| RESULT:<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:ns2="http://www.tai.it/TheService"><return>Hallo
0</return></ns2:sayHalloResponse></env:Body></env:Envelope>
where is my mistake?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064528#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...