[esb-issues] [JBoss JIRA] Updated: (JBESB-3092) SOAPProxy action: Port number is missing in the imported schema types URL

Boris Belovic (JIRA) jira-events at lists.jboss.org
Sun Jan 3 08:40:30 EST 2010


     [ https://jira.jboss.org/jira/browse/JBESB-3092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Belovic updated JBESB-3092:
---------------------------------

    Attachment: contract_publisher_soapproxy.tar.bz2


The archive with ESB service attached.

> 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
>         Attachments: contract_publisher_soapproxy.tar.bz2
>
>
> 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&resource=HelloWorldSchema.xsd
> Caused by: java.lang.IllegalArgumentException: Cannot resolve imported resource: http://localhost/Contract_publisher_soapproxy_ws/HelloWorldImport?wsdl&resource=HelloWorldSchema.xsd
> 	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).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the esb-issues mailing list