[esb-issues] [JBoss JIRA] Created: (JBESB-1719) wsonsume doesn't like the contract app URLs (http://localhost:8080/contract)

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Tue May 13 10:11:37 EDT 2008


wsonsume doesn't like the contract app URLs (http://localhost:8080/contract)
----------------------------------------------------------------------------

                 Key: JBESB-1719
                 URL: http://jira.jboss.com/jira/browse/JBESB-1719
             Project: JBoss ESB
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Web Services
    Affects Versions: 4.2.1 CP2
            Reporter: Tom Fennelly
         Assigned To: Tom Fennelly


The WSDL URL for ESB based webservices are of the form "http://127.0.0.1:8080/contract/contract.jsp?serviceCat=MyServiceCategory&serviceName=MyWSProducerService&protocol=http".  The wsconsume tool doesn't like them.  See the example below.  Might be a JBossWS specific issue at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:190).


wsconsume -v -k -o /Jboss/ESB/trunk/product/samples/quickstarts/webservice_producer/build/wsclient http://127.0.0.1:8080/contract/contract.jsp?serviceCat=MyServiceCategory&serviceName=MyWSProducerService&protocol=http
parsing WSDL...


[ERROR] Content is not allowed in prolog.
  line 12 of http://127.0.0.1:8080/contract/contract.jsp?serviceCat=MyServiceCategory

[ERROR] Failed to read the WSDL document: http://127.0.0.1:8080/contract/contract.jsp?serviceCat=MyServiceCategory, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
unknown location

Failed to parse the WSDL.
Failed to invoke WsImport
java.lang.IllegalStateException: WsImport invocation failed. Try the verbose switch for more information
        at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:190)
        at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:216)
        at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:79)
'serviceName' is not recognized as an internal or external command,
operable program or batch file.
'protocol' is not recognized as an internal or external command,
operable program or batch file.



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

        



More information about the esb-issues mailing list