porttypes are not imported via <wsdl:import>
---------------------------------------------
Key: AXIS2-244
URL: http://issues.apache.org/jira/browse/AXIS2-244
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: wsdl
Reporter: Steve Loughran
Importing the following doc, I get an error that there is no service/porttype
declared.
[core:java] Exception in thread "main"
org.apache.wsdl.impl.WSDLProcessingException: There are no Interfaces/PortTypes
identified in the current partially builtWOM
[core:java] at
org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.getBoundInterface(WSDLPump.java:655)
[core:java] at
org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.populateServices(WSDLPump.java:295)
[core:java] at
org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.populateDefinition(WSDLPump.java:207)
Which is true: they are all in the import, which I am importing into the same
namespace. Surely declarations of porttypes from imported WSDL is visible in
the outer WSDL?
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://www.gridforum.org/cddlm/deployapi/2005/02/wsdl"
xmlns:tns="http://www.gridforum.org/cddlm/deployapi/2005/02/wsdl"
xmlns:api="http://www.gridforum.org/cddlm/deployapi/2005/02"
xmlns:cmp="http://www.gridforum.org/cddlm/components/2005/02"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
xmlns:wsrf-rpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
xmlns:wsrf-rl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
xmlns:wsrf-rlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
xmlns:mows-wsdl="http://docs.oasis-open.org/wsdm/2004/12/mows/wsdm-mows.wsdl"
>
<wsdl:import namespace="http://www.gridforum.org/cddlm/deployapi/2005/02/wsdl"
location="deployment-api.wsdl"/>
<wsdl:service name="SystemEPRBindingService">
<wsdl:port binding="tns:SystemEPRBinding"
name="SystemEPRBinding">
<wsdlsoap:address
location="http://localhost:5050/services/System"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
--
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