]
David Ward closed JBESB-3092.
-----------------------------
Resolution: Done
The problem was that HttpClient was stripping out the port number if the Protocol's
default port number is the same as the port number of the target URI.
Committed revision 31122.
SOAPProxy action: Port number is missing in the imported schema types
URL
-------------------------------------------------------------------------
Key: JBESB-3092
URL:
https://jira.jboss.org/jira/browse/JBESB-3092
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 4.7
Reporter: Boris Belovic
Assignee: David Ward
Fix For: 4.7 CP1
Attachments: contract_publisher_soapproxy.tar.bz2, server.log
I have a simple ESB service with SOAPProxy action, the WSDL document for the webservice
imports the schema types from external .xsd file. The ESB service fails on deployment with
following exceptions:
[JBossWSEntityResolver] Trying to resolve id as a non-file URL:
http://localhost/Contract_publisher_soapproxy_ws/HelloWorldImport?wsdl&am...
Caused by: java.lang.IllegalArgumentException: Cannot resolve imported resource:
http://localhost/Contract_publisher_soapproxy_ws/HelloWorldImport?wsdl&am...
at
org.jboss.ws.tools.wsdl.WSDLLocatorImpl.getImportInputSource(WSDLLocatorImpl.java:139)
at
org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.parseImport(JBossWSDLReaderImpl.java:398)
at
org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.parseDefinitions(JBossWSDLReaderImpl.java:322)
at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2292)
at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2256)
at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2309)
at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2330)
at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2362)
at
org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
at
org.jboss.soa.esb.actions.soap.proxy.SOAPProxyWsdlLoader.loadDefinitions(SOAPProxyWsdlLoader.java:102)
at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.<init>(SOAPProxy.java:145)
... 66 more
It looks like the port number (8080) is missing in the URL of the imported resource. This
issue is new in ER6, when I tried to deploy the service on ER5, everything works fine (no
exceptions during the deployment).
On ER5 there is a correct port number in the resource URL:
[JBossEntityResolver] Trying to resolve systemId as a non-file URL:
http://localhost:8080/Contract_publisher_soapproxy_ws/HelloWorldImport?ws...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: