1 Reply Latest reply on Jan 14, 2010 4:38 AM by Jim Ma

    SOAP request exception java.lang.IllegalArgumentException: Local part not allowed to be null

    mark crosbie Newbie

      Using JBOSS 5.1.0.GA and having constructed a WebService client from WSDL using netbeans 6.5.1 I have called the webservice and have had exceptions thrown by the remote server which were caught and handled, however now when the web service returns a very simple structure I am getting the following stack trace.  I confirmed with the publisher of the web service that they successfully processed the call and returned the following very simple SOAP envelope, perhaps too simple in so much as it fails during the unbind.

       

      Soap Message Response

      <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:m1="http://lsr.att.com/order" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m1:OK></m1:OK></SOAP-ENV:Body></SOAP-ENV:Envelope>

       

      Stack Trace

      ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] (http-wrmnxapp16.cavalier.com%2F10.204.60.203-8180-7) SOAP request exception
      java.lang.IllegalArgumentException: Local part not allowed to be null
          at javax.xml.namespace.QName.<init>(QName.java:85)
          at javax.xml.namespace.QName.<init>(QName.java:70)
          at org.jboss.ws.core.CommonSOAPBinding.getParameterFromMessage(CommonSOAPBinding.java:905)
          at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:634)
          at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:381)
          at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290)
          at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170)
          at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
          at $Proxy427.submit(Unknown Source)
          at com.clec.ws.outbound.po.CLECOutboundWS.testATTConnectivityLocalWSDL(CLECOutboundWS.java:304)