title: Getting Remote Exception While trying to Access a webmethod in a webservice in java
body: <p>When i tried to access a webmethod in Code, Getting remote exception. Complete Stack trace below. The same worked when i tried to push the request using SOAP UI.</p>
  
  <pre><code>error: com.bea.xml.XmlException: java.lang.IllegalArgumentException; nested exception is:
      com.bea.xml.XmlRuntimeException: 
  error: com.bea.xml.XmlException: java.lang.IllegalArgumentException]
      java.rmi.RemoteException: error: com.bea.xml.XmlException:
      java.lang.IllegalArgumentException; nested exception is:
      com.bea.xml.XmlRuntimeException: 
  error: com.bea.xml.XmlException: java.lang.IllegalArgumentException
      at com.XXXX.XXXX.XXX.client.XXX.Service_Stub.webmethod(ServicePort_Stub.java:91)
  </code></pre>
  
  <p>Note : I have tried to acecss one more webmethod and able to send request in my Code.</p>