[jboss-user] [JBossWS] - Re: jbossws4ee call gsoap's webservice problem

peixubin do-not-reply at jboss.com
Thu Nov 16 21:09:14 EST 2006



  | 
  | ns__getGsb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ;
  | ns__getSb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ;
  | 
  | 

I replace "_return" with result, "_input" with input, the testcase runs successly!!!  why?


but when the jbossws4ee client  processes null number value,jboss reported error:
09:47:58,246 DEBUG [HandlerChainBaseImpl] init: [config=null]
09:47:58,246 DEBUG [HandlerChainBaseImpl] Enter: doHandleRequest
09:47:58,246 DEBUG [HandlerChainBaseImpl] Exit: doHandleRequest with status: true
09:47:58,254 DEBUG [HandlerChainBaseImpl] Enter: handleResponse
09:47:58,254 DEBUG [HandlerChainBaseImpl] Exit: handleResponse with status: true
09:47:58,330 ERROR [Call] Exception:
java.lang.NumberFormatException: empty String
        at org.jboss.axis.encoding.ser.SimpleDeserializer.onEndElement(Ljava.lang.String;Ljava.lang.String;Lorg.jboss.axis.encoding.DeserializationContext;)V(SimpleDeserializer.java:242)
        at org.jboss.axis.encoding.DeserializerImpl.endElement(Ljava.lang.String;Ljava.lang.String;Lorg.jboss.axis.encoding.DeserializationContext;)V(DeserializerImpl.java:582)
        at org.jboss.axis.encoding.DeserializationContextImpl.endElement(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(DeserializationContextImpl.java:1249)
        at org.jboss.axis.message.SAX2EventRecorder.replay(IILorg.xml.sax.ContentHandler;)V(SAX2EventRecorder.java:252)
        at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(Lorg.xml.sax.ContentHandler;)V(SOAPElementAxisImpl.java:1389)
        at org.jboss.axis.message.RPCElement.deserialize()V(RPCElement.java:262)
        at org.jboss.axis.message.RPCElement.getParams()Ljava.util.Vector;(RPCElement.java:396)
 ...




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986726#3986726

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986726



More information about the jboss-user mailing list