all,
I am trying to invoke a webservice from a j2me client.
I am using wtk 2.2 generate the stub code and using sun j2me webservice jar which implements jsr172.
I found that the j2me client couldn't decode the received response package properly:
the response package I got is:Code:javax.xml.rpc.JAXRPCException: java.rmi.MarshalException: (1)Missing end tag for Body or Envelope at com.sun.j2mews.xml.rpc.SOAPDecoder.decode(+243) at com.sun.j2mews.xml.rpc.OperationImpl.invoke(+90) at service.Calculator_Stub.add(+62)
anything wrong with the package?Code:<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'> <env:Header/> <env:Body> <ns1:addResponse xmlns:ns1='http://server.reg.src/jaws' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> <ns1:result>10</ns1:result> </ns1:addResponse> </env:Body> </env:Envelope>
apparantly I can't trace further because I don't have the jsr172 RI source code.

Reply With Quote


