Problem with WSDL based ServiceClient when wsdl has SOAP12 port
---------------------------------------------------------------
Key: AXIS2-1329
URL: http://issues.apache.org/jira/browse/AXIS2-1329
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: client-api
Reporter: indika priyantha kumara
I have created a client using constructor for Create a service client for WSDL
service identified by the QName of the wsdl:service element in a WSDL document.
String wsdlPortName= "versionSOAP12port_http";
QName wsdlServiceName = new QName("http://ws.apache.org/axis2","version") ;
ServiceClient client = new ServiceClient(null,
new
URL("http://localhost:8080/axis2/services/version?wsdl"),
wsdlServiceName,wsdlPortName);
This client work when i used wsdlPortName= "versionSOAP11port_http";But it
threw AxisFault when i used wsdlPortName= "versionSOAP12port_http";(WSDL file
contains both of bindings and portnames )
org.apache.axis2.AxisFault: No address information in EPR, cannot infer
transport
After debugging i have found that there is a object represents port name
versionSOAP12port_http but the EPR (SOAP Address) is null. It is seems as when
building service using wsdl , for SOAP12 , the SOAP address information has not
populated to service.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]