wsdlDocumentLocation must not be null
I got these error when calling webservices that deploy on other machine(sun appserver 8).
[#|2550-06-21T16:33:03.625+0700|WARNING|sun-appserver-pe8.1_02|javax.enterprise.system.core.naming|_ThreadID=14;|
java.lang.IllegalArgumentException: wsdlDocumentLocation must not be null
at com.sun.xml.rpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:35)
at com.sun.enterprise.webservice.WsUtil$3.run(WsUtil.java:624)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.webservice.WsUtil.createConfiguredService(WsUtil.java:620)
at com.sun.enterprise.naming.NamingManagerImpl.getClientServiceObject(NamingManagerImpl.java:899)
at com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:791)
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:132)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:288)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at cbsws.utils.CBSWSConnector.getWSEnquiry(CBSWSConnector.java:53)
at cbsws.utils.CBSWSConnector.getWSEnquirySEIPort(CBSWSConnector.java:66)
at cbsws.utils.CBSWSConnector.callEnquiryWS(CBSWSConnector.java:27)
at cbsws.test.services.impl.HandlerThread.run(HandlerThread.java:55)
I have no idea about this error. Anyone!!! Below is service part from wsdl.
<service name="WSEnquiry">
<port name="WSEnquirySEIPort" binding="tns:WSEnquirySEIBinding">
<soap:address location="https://kcsint91.kcs:58181/Enquiry/WSEnquiry" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/></port></service></definitions>
Hope for help,
anurak
Message was edited by:
anurakth

