[Users] generate client from a BPEL service exposed

tilto thibaut.simonnet at atosorigin.com
Wed Mar 16 10:58:03 CET 2011


Here you have the stack : 

Code:

IWAB0399E Error in generating Java from WSDL:  WSDLException (at /ns2:definitions/ns2:import): faultCode=OTHER_ERROR: Unable to resolve imported document at 'http://127.0.0.1:8084/petals/services/booking?wsdl=process.wsdl', relative to 'file:/D:/LOCAL/TST/App/eclipse/workspace/TravelAgency/WebContent/WEB-INF/wsdl/Booking.wsdl': no content-type: java.net.UnknownServiceException: no content-type
	at java.net.URLConnection.getContentHandler(Unknown Source)
	at java.net.URLConnection.getContent(Unknown Source)
	at java.net.URL.getContent(Unknown Source)
	at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
	at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source)
	at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
	at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
	at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
	at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
	at java.lang.Thread.run(Unknown Source)




And here is the bpel : 

Code:

<?xml version="1.0" encoding="UTF-8"?>
<ns2:definitions xmlns:ns2="http://schemas.xmlsoap.org/wsdl/" xmlns:ns10="http://petals.ow2.org/wsdlExtensions" xmlns:ns11="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns3="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns5="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns6="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:ns7="http://www.w3.org/ns/wsdl" xmlns:ns8="http://www.w3.org/ns/wsdl/http" xmlns:ns9="http://www.w3.org/ns/wsdl/soap" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="bpel" targetNamespace="http://bpel">
   <ns2:import location="http://127.0.0.1:8084/petals/services/booking?wsdl=process.wsdl" namespace="http://bpel"/>
   <ns2:binding xmlns:tns="http://bpel" name="bpelBinding" type="tns:bpel">
      <ns5:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
      <ns2:operation name="process">
         <ns5:operation soapAction="http://bpel/process"/>
         <ns2:input name="bpelRequestMessage">
            <ns5:body use="literal"/>
         </ns2:input>
         <ns2:output name="bpelResponseMessage">
            <ns5:body use="literal"/>
         </ns2:output>
      </ns2:operation>
   </ns2:binding>
   <ns2:service name="bpel">
      <ns2:port xmlns:tns="http://bpel" binding="tns:bpelBinding" name="bpelEndpoint">
         <ns5:address location="http://127.0.0.1:8084/petals/services/booking"/>
      </ns2:port>
   </ns2:service>
</ns2:definitions>







-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=30909#30909

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/2cea2abb/attachment.htm>


More information about the Users mailing list