简体   繁体   中英

Getting Remote Exception While trying to Access a webmethod in a webservice in java

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.

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)

Note : I have tried to acecss one more webmethod and able to send request in my Code.

我认为IllegalArgumentException ,检查您的参数格式

Got the issue. It seems response came in. But in the response one of the value is not comply to the pre defined values. But I wonder why I got remote exception for that.

Thanks for all your support!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM