Significance of binding tag in WSDL file

Hi
I have written a simple WebService based on JAX -WS , with the help of Sun one Application server i generated a wsdl file for that .
By seeing the wsdl files i could not able to understand binding tag of my wsdl .
Could anyone please let me know what is the signifucance of this tag ??
The genrated one in my case is .
<binding name="CalculatorPortBinding" type="tns:Calculator">
</binding>Thank you .

At a glance:
Wsdl has two parts: abstract (PortType) and Concrete (bindings)
The abstract part- tag <portType or tag (<interface since wsdl 2.0) is kind of interface i.e. describes available operations and their signature.
Obviously to invoke the web-service - we have to know protocol and address .
The wsdl concrete part desribes it.
Since there number protocols and almost every protocol can have number parameters then
wsdl concrete part consists of two parts:
<binding - describes protocol and defnes necessary protocol parameters
<service ...><port - defines concrete address and joins with binding (concrete protocol with parameters)
The most detailed answer you can find by reading wsdl spec :)

Similar Messages

  • Does wscompile generate "fault" tag in WSDL file from Java exception class?

    I'm trying to generate WSDL files from Java classes. I defined some of my own exception that inherits from "RemoteException", but wscompile doesn't generate the corresponding complex type and "fault" tag. Does anyone know if this is a bug or wscompile doesn't support from Java Exception to fault?
    Thanks

    It will if the exceptions do not inherit from RemoteException.

  • Element tag in the WSDL file.

    I have the following interface for the webservice:
    public interface DocumentProvider extends Remote {
    public void deleteDocument(String documentId) throws
    RemoteException;
    I use the wscompile command to generate the wsdl file and it creates a complex type like this:
    <complexType name="deleteDocument">
    <sequence>
    <element name="String_1" type="string" nillable="true"/>
    </sequence>
    </complextType>
    Is there an option in the wscompile command to change "String_1" to "Document" as it is called in the interface.
    I have run out of idea, pls. help if you know how.
    TIA

    I suggest, if possible, that you switch from JAX-RPC to JAX-WS. JAX-WS is the latest APIs for doing Web Services. JAX-RPC is no longer actively developed. The JAX-WS RI is an open source project on java.net (http://jax-ws.dev.java.net) that is widely used, actively developed, much faster than JAX-RPC. With JAX-WS you have much more control of the mapping Java <-> WSDL. For example, your interface below could be written like the following to achieve what you want.
    @WebService
    public class DocumentProvider {
    public void deleteDocument(@WebParam(name="Document")String documentId) { ... }
    Notice that an interface is no longer needed, you can use a POJO directly as long as you annotate it with @WebService. Also, you no longer need to extend Remote or throw RemoteExceptions. Check it out, I think you will really like it.

  • Need help in creating XSD for a WSDL file to tranform given XML

    Hi,
    Please let me knoe if this is the right forum to post the query below:
    We are trying to transform a XML output from a webservice using a XSD file. But we are facing problem as the XML output has some namespace issue and schema due to which transformation is not working fine. I am pasting the files below:
    WSDL file used is
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/Projectix20/SOAPAccess" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/Projectix20/SOAPAccess" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/Projectix20/SOAPAccess">
    <s:element name="ExecuteSQLToXML">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="SQL" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ExecuteSQLToXMLResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ExecuteSQLToXMLResult">
    <s:complexType mixed="true">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="NewDataSet">
    <s:complexType>
    <s:choice>
    <s:element minOccurs="0" maxOccurs="unbounded" name="Table1">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="10" name="FName" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:choice>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="GetDataTablePage">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="SQL" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="PageNumber" type="s:int" />
    <s:element minOccurs="1" maxOccurs="1" name="RecordsPerPage" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="GetDataTablePageResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetDataTablePageResult">
    <s:complexType mixed="true">
    <s:sequence>
    <s:any />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="GetRecordCount">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="SQL" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="GetRecordCountResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="GetRecordCountResult" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="UploadCanAtt">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="CanID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="Filename" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="bytesData" type="s:base64Binary" />
    <s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="UploadCanAttResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="UploadCanAttResult" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="DownloadCanAtt">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="CanAttID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="GUID" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="DownloadCanAttResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="DownloadCanAttResult" type="s:base64Binary" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="ExecuteSQLToXMLSoapIn">
    <wsdl:part name="parameters" element="tns:ExecuteSQLToXML" />
    </wsdl:message>
    <wsdl:message name="ExecuteSQLToXMLSoapOut">
    <wsdl:part name="parameters" element="tns:ExecuteSQLToXMLResponse" />
    </wsdl:message>
    <wsdl:message name="GetDataTablePageSoapIn">
    <wsdl:part name="parameters" element="tns:GetDataTablePage" />
    </wsdl:message>
    <wsdl:message name="GetDataTablePageSoapOut">
    <wsdl:part name="parameters" element="tns:GetDataTablePageResponse" />
    </wsdl:message>
    <wsdl:message name="GetRecordCountSoapIn">
    <wsdl:part name="parameters" element="tns:GetRecordCount" />
    </wsdl:message>
    <wsdl:message name="GetRecordCountSoapOut">
    <wsdl:part name="parameters" element="tns:GetRecordCountResponse" />
    </wsdl:message>
    <wsdl:message name="UploadCanAttSoapIn">
    <wsdl:part name="parameters" element="tns:UploadCanAtt" />
    </wsdl:message>
    <wsdl:message name="UploadCanAttSoapOut">
    <wsdl:part name="parameters" element="tns:UploadCanAttResponse" />
    </wsdl:message>
    <wsdl:message name="DownloadCanAttSoapIn">
    <wsdl:part name="parameters" element="tns:DownloadCanAtt" />
    </wsdl:message>
    <wsdl:message name="DownloadCanAttSoapOut">
    <wsdl:part name="parameters" element="tns:DownloadCanAttResponse" />
    </wsdl:message>
    <wsdl:portType name="SOAPAccessSoap">
    <wsdl:operation name="ExecuteSQLToXML">
    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Executes a SQL statement and returns a generic XML document with results from SQL statement.</documentation>
    <wsdl:input message="tns:ExecuteSQLToXMLSoapIn" />
    <wsdl:output message="tns:ExecuteSQLToXMLSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetDataTablePage">
    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Executes a SQL statement and returns a generic XML document with results from SQL statement.</documentation>
    <wsdl:input message="tns:GetDataTablePageSoapIn" />
    <wsdl:output message="tns:GetDataTablePageSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetRecordCount">
    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Executes a SQL statement and returns a generic XML document with results from SQL statement.</documentation>
    <wsdl:input message="tns:GetRecordCountSoapIn" />
    <wsdl:output message="tns:GetRecordCountSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="UploadCanAtt">
    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Uploads a text or binary attachment file for a Candidate record.</documentation>
    <wsdl:input message="tns:UploadCanAttSoapIn" />
    <wsdl:output message="tns:UploadCanAttSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="DownloadCanAtt">
    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Uploads a text or binary attachment file for a Candidate record.</documentation>
    <wsdl:input message="tns:DownloadCanAttSoapIn" />
    <wsdl:output message="tns:DownloadCanAttSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SOAPAccessSoap" type="tns:SOAPAccessSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <wsdl:operation name="ExecuteSQLToXML">
    <soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/ExecuteSQLToXML" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetDataTablePage">
    <soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/GetDataTablePage" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetRecordCount">
    <soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/GetRecordCount" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="UploadCanAtt">
    <soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/UploadCanAtt" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="DownloadCanAtt">
    <soap:operation soapAction="http://tempuri.org/Projectix20/SOAPAccess/DownloadCanAtt" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SOAPAccess">
    <wsdl:port name="SOAPAccessSoap" binding="tns:SOAPAccessSoap">
    <soap:address location="http://sales.projectix.com:81/customer/SOAPAccess.asmx" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    XSD file used for transformation is:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
    <xs:element name="ExecuteSQLToXMLResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ExecuteSQLToXMLResult"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="parameters">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="ExecuteSQLToXMLResponse"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="ExecuteSQLToXMLResult">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="NewDataSet"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="FNAME" type="xs:string"/>
    <xs:element name="Table1">
    <xs:complexType>
    <xs:sequence>
    <xs:element ref="FNAME"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="NewDataSet">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="Table1"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    XML Output from webservice call that we are trying to tranform using above XSD is:
    <parameters >
    <ExecuteSQLToXMLResponse xmlns = "http://tempuri.org/Projectix20/SOAPAccess" >
    <ExecuteSQLToXMLResult >
    <NewDataSet xmlns = "" >
    <xs:schema xmlns:xs = "http://www.w3.org/2001/XMLSchema" xmlns:msdata = "urn:schemas-microsoft-com:xml-msdata" >
    <xs:element name = "NewDataSet" msdata:IsDataSet = "true" >
    <xs:complexType >
    <xs:choice maxOccurs = "unbounded" >
    <xs:element name = "Table1" >
    <xs:complexType >
    <xs:sequence >
    <xs:element name = "FNAME" type = "xs:string" minOccurs = "0" ></xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    <Table1 >
    <FNAME >
    JOHN
    </FNAME>
    </Table1>
    <Table1 >
    <FNAME >
    John
    </FNAME>
    </Table1>
    <Table1 >
    <FNAME >
    John
    </FNAME>
    </Table1>
    <Table1 >
    <FNAME >
    JOHN
    </FNAME>
    </Table1>
    <Table1 >
    <FNAME >
    John
    </FNAME>
    </Table1>
    </NewDataSet>
    </ExecuteSQLToXMLResult>
    </ExecuteSQLToXMLResponse>
    </parameters>
    I am not sure what we are missing in XSD file that the XML output is not getting transformed correctly...although we tried transforming the XML output by removing some information in XML output above and it was getting trasformed properly..
    We remove
    1. xmlns = "http://tempuri.org/Projectix20/SOAPAccess" from <ExecuteSQLToXMLResponse xmlns = "http://tempuri.org/Projectix20/SOAPAccess" >
    2. xmlns = "" from <NewDataSet xmlns = "" >
    3 remove <parameters > and </parameters > tags from output and the XML Output is getting tranformed correctly.
    Please let us know if we can transform the XML Output without requiring these removals.
    Thanks,
    Pawan

    Could you clarify some things? You are saying you are trying to transform the xml output of a webservice with an xsd, but an xsd is a schema that describes the allowed format of a xml file. If you want to transform xml from one format to an other (from one xsd to an other) you have to use a xsl file. You can make and test this with JDeveloper. Are you calling the webservice from esb or bpel?
    Kind Regards,
    Andre

  • How to set input/output "use" attribute in the WSDL file of BPEL process?

    Hello,
    I have a BPEL process that I want to deploy it as an RPC web service. I want to access it from a Java module (via an automatic generated Java stub from the WSDL file exposed by the BPEL process).
    I wrote manually the corresponding WSDL file for my BPEL process, where I stipulated for the operations exposed by my process ( in <soap:binding> tag) the value of the attribute "style" to "rpc". Also, for each <input> and <output> of the operations (inside the <operation> tag), I set manually the attributes "use" to the values "encoded". Something like this:
    <operation name="getCustomers">
    <soap:operation style="rpc" soapAction="getCustomers"/>
    <input>
    <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="Trial"/>
    </input>
    <output>
    <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="Trial"/>
    </output>
    </operation>
    The issue is that, when the BPEL process is built and deployed, the WSDL file generated automatically by BPEL (based on the one manually writen) set the values of the "use" attributes to "literal". This is what is generated:
    <operation name="getCustomers">
    <soap:operation style="rpc" soapAction="getCustomers" />
    <input>
    <soap:body use="literal" namespace="http://acm.org/samples" />
    </input>
    <output>
    <soap:body use="literal" namespace="http://acm.org/samples" />
    </output>
    </operation>
    Is there any chance to keep the original values (written by hand) for the "use attributes?
    Many thanks in advance!
    Regards,
    Marinel

    I am not sure I understand your question. If you want all your BPEL service to be rpc still by default, you can change the templates: C:\eclipse\plugins\bpelz_0.9.XXX\templates.
    The BPEL PM engine support both style of invocation.
    I hope this helps. -Edwin

  • WebService generation from existing WSDL file :(

    Hello,
    I have just tried to create a WebService from an existing WSDL (which has been developed and validated with Eclipse) with JDeveloper and got the follwing stack trace. I do not think, that this error message is very usefull, because I can't see the point where it referes to my WSDL document. By the way, the Eclipse validation went through without having any trouble.
    Here are my JDeveloper coordinates to give you the chance to follow up:
    - Studio Edition Version 11.1.1.1.0
    - Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
    Running JDeveloper in MacOSX:
    - Version 10.5.8
    - Build 9L31a
    Cheers,
    Chris
    *** ERROR STACK TRACE ***
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1628)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2845)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2610)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:750)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:353)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1085)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$6.run(SpecifyWsdlPanel.java:644)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:643)
         at java.lang.Thread.run(Thread.java:637)
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:655)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
         at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1358)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jdeveloper.webservices.Assembler$2$1.invoke(Assembler.java:234)
         at $Proxy46.getJaxWsSeiInfo(Unknown Source)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1724)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1469)
         ... 8 more
    Caused by: java.lang.NumberFormatException: For input string: "1 "
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:456)
         at java.lang.Integer.parseInt(Integer.java:497)
         at com.sun.xml.xsom.impl.parser.state.occurs.action2(occurs.java:50)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:267)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.consumeAttribute(NGCCRuntime.java:303)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:237)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendText(NGCCRuntime.java:394)
         at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromText(NGCCHandler.java:98)
         at com.sun.xml.xsom.impl.parser.state.particle.text(particle.java:728)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.processPendingText(NGCCRuntime.java:197)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:273)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.importSchema(NGCCRuntimeEx.java:207)
         at com.sun.xml.xsom.impl.parser.state.importDecl.action0(importDecl.java:45)
         at com.sun.xml.xsom.impl.parser.state.importDecl.leaveElement(importDecl.java:156)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:275)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:88)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:147)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:136)
         at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:516)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:237)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
         at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)
         at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:638)
         ... 18 more

    Hello puthanampatti,
    that was exactly what I tried right now ;-)
    I figured that JDeveloper has a more strict validation than Eclipse and recognizes white spaces within certain tags.
    When I have cleaned my WSDL and XSD files I started with a new procedure of generating WebServices (form local JDeveloper files) and encountered the following issue:
    Invoking command: [ from oracle.ideimpl.palette2.GroupDockable ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action About[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: !NLS Some Name
    Invoking command:
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command:
    Invoking command: New XML Schema
    Performing action Rename...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Started CommandProcessor transaction: Rename File on thread AWT-EventQueue-0 at batch level 1
    Invoking command: noname[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Clear[ from oracle.ide.log.MessagePage ]
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Delete Next[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Validate XML[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Tab[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Constraints[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Toggle Line Numbers[ from oracle.ide.ceditor.CodeEditorGutter$GutterView ]
    Performing action Save[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Uncaught exception
    java.lang.NullPointerException
      com.apple.laf.AquaListUI.repaintCell(AquaListUI.java:132)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener$1.paintSelected(AquaComboBoxUI.java:94)
      com.apple.laf.AquaUtils.blinkMenu(AquaUtils.java:200)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener.itemStateChanged(AquaComboBoxUI.java:92)
      jx.s.JComboBox.fireItemStateChanged(JComboBox.java:1205)
      jx.s.JComboBox.selectedItemChanged(JComboBox.java:1262)
      jx.s.JComboBox.setSelectedItem(JComboBox.java:564)
      o.javatools.ui.combo.JTreeCombo$TreeClickListener.mouseClicked(JTreeCombo.java:208)
      j.a.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
      j.a.Component.processMouseEvent(Component.java:6304)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4273)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
      j.a.Dialog$1.run(Dialog.java:1051)
      j.a.Dialog$3.run(Dialog.java:1103)
      j.security.AccessController.doPrivileged(Native Method)
      j.a.Dialog.show(Dialog.java:1101)
      j.a.Component.show(Component.java:1516)
      j.a.Component.setVisible(Component.java:1468)
      j.a.Window.setVisible(Window.java:841)
      j.a.Dialog.setVisible(Dialog.java:991)
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:571)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:195)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:141)
      o.i.wizard.WizardManager.invokeWizard(WizardManager.java:317)
      o.i.wizard.WizardManager$1.run(WizardManager.java:365)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager$2.run(WizardManager.java:373)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager.invokeSecondaryWizard(WizardManager.java:369)
      o.i.gallery.ObjectGallery.invokeWizard(ObjectGallery.java:386)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:208)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:128)
      o.i.gallery.ObjectGalleryAddin._invokeGallery(ObjectGalleryAddin.java:333)
      o.i.gallery.ObjectGalleryAddin.handleEvent(ObjectGalleryAddin.java:206)
      o.i.controller.IdeAction.performAction(IdeAction.java:524)
      o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
      o.i.controller.IdeAction.actionPerformed(IdeAction.java:496)
      jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
      jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
      jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      jx.s.AbstractButton.doClick(AbstractButton.java:389)
      jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
      com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:120)
      jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
      j.a.Component.processMouseEvent(Component.java:6301)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4264)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      j.a.EventDispatchThread.run(EventDispatchThread.java:122)Has anybody a clue about what's going on with my JDev?
    Cheers,
    chris
    Edited by: Christoph E on Oct 19, 2009 4:30 PM

  • Xsl schema import from within a wsdl file

    I have a namespace conflict issue validating a bpel process.
    The message error is as follow:
    [bpelc] [Error] SMSSenderEnablerSEIWrapper.wsdl.2.wsdl:19:80: src-resolve.4.2: Error resolving component 'tns2:InvocationContext'. It was detected that 'tns2:InvocationContext' is in namespace 'http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI', but components from this namespace are not referenceable from schema document 'file:/D:/home/guillaume/workspace/SMSMulticast2/services/SMSSenderEnablerSEIWrapper.wsdl.2.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'tns2:InvocationContext' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/D:/home/guillaume/workspace/SMSMulticast2/services/SMSSenderEnablerSEIWrapper.wsdl.2.wsdl'.
    [bpelc] [Error] SMSSenderEnablerSEIWrapper.wsdl.2.wsdl:20:76: src-resolve.4.2: Error resolving component 'tns1:SMSMessageETO'. It was detected that 'tns1:SMSMessageETO' is in namespace 'http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI', but components from this namespace are not referenceable from schema document 'file:/D:/home/guillaume/workspace/SMSMulticast2/services/SMSSenderEnablerSEIWrapper.wsdl.2.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'tns1:SMSMessageETO' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/D:/home/guillaume/workspace/SMSMulticast2/services/SMSSenderEnablerSEIWrapper.wsdl.2.wsdl'.
    I've already seen this kind of error in other posts, but this was encountered with xsd files. In my case, I'm trying to use complexTypes defined in a schema, defined itself in a WSDL file. The needed file (SMSSenderEnablerSEI) is referenced in the bpel.xml file.
    // Here the BPEL file (SMSMulticast2.bpel)
    <pre>
    <!-- SMSMulticast2 BPEL Process [Generated by the Oracle BPEL Designer] -->
    <process name="SMSMulticast2" targetNamespace="http://com.osa.mdsp.csp.ena.smms.smsmulti/V1.0" suppressJoinFailure="yes" xmlns:tns="http://com.osa.mdsp.csp.ena.smms.smsmulti/V1.0" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:nsxml0="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:nsxml1="http://com.osa.mdsp.enabler.sei/PimEnabler:DirectService/2004/V1.0">
         <!-- ================================================================= -->
         <!-- PARTNERLINKS -->
         <!-- List of services participating in this BPEL process -->
         <!-- ================================================================= -->
         <partnerLinks>
              <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
              <partnerLink name="client" partnerLinkType="tns:SMSMulticast2" myRole="SMSMulticast2Provider"/>
              <partnerLink name="SMSEnabler" partnerLinkType="nsxml0:SMSSenderEnablerRemoteLink" partnerRole="SMSSenderEnablerRemoteProvider"/>
              <partnerLink name="PIMEnabler" partnerLinkType="nsxml1:PimDirectServiceEnablerSEIImplLink" partnerRole="PimDirectServiceEnablerSEIImplProvider"/>
         </partnerLinks>
         <!-- ================================================================= -->
         <!-- VARIABLES -->
         <!-- List of messages and XML documents used within this BPEL process -->
         <!-- ================================================================= -->
         <variables>
              <!-- Reference to the message passed as input during initiation -->
              <variable name="smsmultiRequest" messageType="tns:SMSMulticast2RequestMessage"/>
              <!-- Reference to the message that will be sent back to the
    requester during callback
    -->
              <variable name="smsmultiResponse" messageType="tns:SMSMulticast2ResponseMessage"/>
              <variable name="count" type="xsd:integer"/>
              <variable name="contactRequest" messageType="nsxml1:retrieveContactRequest"/>
              <variable name="smsRequest" messageType="nsxml0:sendSMSRequest"/>
              <variable name="smsResponse" messageType="nsxml0:sendSMSResponse"/>
              <variable name="contactResponse" messageType="nsxml1:addContactResponse"/>
         </variables>
         <!-- ================================================================= -->
         <!-- ORCHESTRATION LOGIC -->
         <!-- Set of activities coordinating the flow of messages across the -->
         <!-- services integrated within this business process -->
         <!-- ================================================================= -->
         <sequence name="main">
              <!-- Receive input from requestor.
    Note: This maps to operation defined in SMSMulticast2.wsdl
    -->
              <receive name="receiveInput" partnerLink="client" portType="tns:SMSMulticast2PT" operation="process" variable="smsmultiRequest" createInstance="yes"/>
              <!-- Asynchronous callback to the requester.
    Note: the callback location and correlation id is transparently handled
    using WS-addressing.
    -->
              <assign name="setProperties">
                   <copy>
                        <from expression="5"></from>
                        <to variable="count"/>
                   </copy>
                   <copy>
                        <from variable="smsmultiRequest" part="parameter" query="/tns:SMSMulticast2Request/tns:inputMSISDN"></from>
                        <to variable="smsRequest" part="parameters" query="/nsxml0:sendSMS/nsxml0:sms/nsxml0:senderAddress"/>
                   </copy>
                   <copy>
                        <from variable="smsmultiRequest" part="parameter" query="/tns:SMSMulticast2Request/tns:inputMessage"></from>
                        <to variable="smsRequest" part="parameters" query="/nsxml0:sendSMS/nsxml0:sms/nsxml0:content"/>
                   </copy>
              </assign>
              <while name="foreach" condition="bpws:getVariableData('count') &gt; 0"><sequence><invoke name="invoke-1" partnerLink="SMSEnabler" portType="nsxml0:SMSSenderEnablerRemote" operation="sendSMS" inputVariable="smsRequest" outputVariable="smsResponse"/>
                        <assign name="decrease"><copy>
                                  <from expression="bpws:getVariableData('count') - 1"></from>
                                  <to variable="count"/>
                             </copy>
                        </assign>
                   </sequence>
              </while>
              <!--invoke name="callbackClient" partnerLink="client" portType="tns:SMSMulticast2Callback" operation="onResult" inputVariable="output"/-->
              <reply name="sendResult" partnerLink="client" portType="tns:SMSMulticast2PT" operation="process" variable="smsmultiResponse"/>
         </sequence>
    </process>
    // Here the WSDL file: SMSSenderEnablerSEIWrapper.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
         name="SMSSenderEnablerSEI"
    targetNamespace="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
         xmlns="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
         xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:impl="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:tns1="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:tns2="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:tns4="http://com.osa.mdsp.enabler.sei.exception/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
         <xsd:schema
              elementFormDefault="qualified"
              targetNamespace="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI"
              xmlns="http://www.w3.org/2001/XMLSchema"
              xmlns:tns="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI">
              <xsd:complexType name="InvocationContext">
              <xsd:sequence>
              <xsd:element
              maxOccurs="unbounded"
              name="properties"
              nillable="true"
              type="xsd:string"/>
              </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="EnablerException">
              <xsd:sequence>
              <xsd:element name="errorMessage" nillable="true" type="xsd:string"/>
              <xsd:element name="errorCode" type="xsd:int"/>
              </xsd:sequence>
              </xsd:complexType>
              <xsd:element name="EnablerException" nillable="true" type="tns:EnablerException"/>
              </xsd:schema>
    <xsd:schema
    elementFormDefault="qualified"
    targetNamespace="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns="http://www.w3.org/2001/XMLSchema"
                   xmlns:tns1="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
                   xmlns:tns2="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI">
    <xsd:element name="sendSMS">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ctx" nillable="true" type="tns2:InvocationContext"/>
    <xsd:element name="sms" nillable="true" type="tns1:SMSMessageETO"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="sendSMSReturn" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSWithNotification">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ctx" nillable="true" type="tns2:InvocationContext"/>
    <xsd:element name="sms" nillable="true" type="tns1:SMSMessageETO"/>
    <xsd:element name="notificationURL" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSWithNotificationResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="sendSMSWithNotificationReturn" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSToAlias">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ctx" nillable="true" type="tns2:InvocationContext"/>
    <xsd:element name="sms" nillable="true" type="tns1:SMSMessageETO"/>
    <xsd:element name="serviceId" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSToAliasResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="sendSMSToAliasReturn" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSWithNotificationToAlias">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="ctx" nillable="true" type="tns2:InvocationContext"/>
    <xsd:element name="sms" nillable="true" type="tns1:SMSMessageETO"/>
    <xsd:element name="serviceId" nillable="true" type="xsd:string"/>
    <xsd:element name="notificationURL" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="sendSMSWithNotificationToAliasResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element
    name="sendSMSWithNotificationToAliasReturn"
    nillable="true"
    type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    <xsd:schema
    elementFormDefault="qualified"
    targetNamespace="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:impl="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                   xmlns:tns1="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
                   xmlns:tns2="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI">
                   <xsd:complexType name="SMSMessageETO">
    <xsd:sequence>
    <xsd:element name="content" nillable="true" type="xsd:string"/>
    <xsd:element name="earliestDeliveryTime" nillable="true" type="xsd:dateTime"/>
    <xsd:element name="expiryDate" nillable="true" type="xsd:dateTime"/>
    <xsd:element name="priority" nillable="true" type="xsd:string"/>
    <xsd:element name="recipient" nillable="true" type="xsd:string"/>
    <xsd:element name="senderAddress" nillable="true" type="xsd:string"/>
    <xsd:element name="contentSentEncoding" nillable="true" type="xsd:string"/>
    <xsd:element name="smsContentSentInGsm7Bits" type="xsd:boolean"/>
    <xsd:element name="smsContentSentInUcs2" type="xsd:boolean"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    <xsd:schema
    elementFormDefault="qualified"
    targetNamespace="http://com.osa.mdsp.enabler.sei.exception/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:impl="http://com.osa.mdsp.enabler.sei/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:tns4="http://com.osa.mdsp.enabler.sei.exception/SMSEnabler/V1.0/SMSSenderSEI"
                   xmlns:tns1="http://com.osa.mdsp.enabler.sei.eto/SMSEnabler/V1.0/SMSSenderSEI"
                   xmlns:tns2="http://com.osa.mdsp.enabler.ecf/SMSEnabler/V1.0/SMSSenderSEI"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <xsd:complexType name="SMSException">
    <xsd:sequence>
    <xsd:element name="errorCode" type="xsd:int"/>
    <xsd:element name="message" nillable="true" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="SMSException" nillable="true" type="tns4:SMSException"/>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="sendSMSRequest">
    <wsdl:part element="impl:sendSMS" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSToAliasResponse">
    <wsdl:part element="impl:sendSMSToAliasResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="EnablerException">
    <wsdl:part element="tns2:EnablerException" name="fault"/>
    </wsdl:message>
    <wsdl:message name="sendSMSToAliasRequest">
    <wsdl:part element="impl:sendSMSToAlias" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSWithNotificationToAliasRequest">
    <wsdl:part element="impl:sendSMSWithNotificationToAlias" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSWithNotificationToAliasResponse">
    <wsdl:part
    element="impl:sendSMSWithNotificationToAliasResponse"
    name="parameters"/>
    </wsdl:message>
    <wsdl:message name="SMSException">
    <wsdl:part element="tns4:SMSException" name="fault"/>
    </wsdl:message>
    <wsdl:message name="sendSMSWithNotificationResponse">
    <wsdl:part element="impl:sendSMSWithNotificationResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSWithNotificationRequest">
    <wsdl:part element="impl:sendSMSWithNotification" name="parameters"/>
    </wsdl:message>
    <wsdl:message name="sendSMSResponse">
    <wsdl:part element="impl:sendSMSResponse" name="parameters"/>
    </wsdl:message>
    <wsdl:portType name="SMSSenderEnablerRemote">
    <wsdl:operation name="sendSMS">
    <wsdl:input message="impl:sendSMSRequest" name="sendSMSRequest"/>
    <wsdl:output message="impl:sendSMSResponse" name="sendSMSResponse"/>
    <wsdl:fault message="impl:SMSException" name="SMSException"/>
    <wsdl:fault message="impl:EnablerException" name="EnablerException"/>
    </wsdl:operation>
    <wsdl:operation name="sendSMSWithNotification">
    <wsdl:input
    message="impl:sendSMSWithNotificationRequest"
    name="sendSMSWithNotificationRequest"/>
    <wsdl:output
    message="impl:sendSMSWithNotificationResponse"
    name="sendSMSWithNotificationResponse"/>
    <wsdl:fault message="impl:SMSException" name="SMSException"/>
    <wsdl:fault message="impl:EnablerException" name="EnablerException"/>
    </wsdl:operation>
    <wsdl:operation name="sendSMSToAlias">
    <wsdl:input message="impl:sendSMSToAliasRequest" name="sendSMSToAliasRequest"/>
    <wsdl:output
    message="impl:sendSMSToAliasResponse"
    name="sendSMSToAliasResponse"/>
    <wsdl:fault message="impl:SMSException" name="SMSException"/>
    <wsdl:fault message="impl:EnablerException" name="EnablerException"/>
    </wsdl:operation>
    <wsdl:operation name="sendSMSWithNotificationToAlias">
    <wsdl:input
    message="impl:sendSMSWithNotificationToAliasRequest"
    name="sendSMSWithNotificationToAliasRequest"/>
    <wsdl:output
    message="impl:sendSMSWithNotificationToAliasResponse"
    name="sendSMSWithNotificationToAliasResponse"/>
    <wsdl:fault message="impl:SMSException" name="SMSException"/>
    <wsdl:fault message="impl:EnablerException" name="EnablerException"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding
    name="SMSSenderEnablerRemoteSoapBinding"
    type="impl:SMSSenderEnablerRemote">
    <wsdlsoap:binding
    style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="sendSMS">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sendSMSRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sendSMSResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="SMSException">
    <wsdlsoap:fault name="SMSException" use="literal"/>
    </wsdl:fault>
    <wsdl:fault name="EnablerException">
    <wsdlsoap:fault name="EnablerException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="sendSMSWithNotification">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sendSMSWithNotificationRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sendSMSWithNotificationResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="SMSException">
    <wsdlsoap:fault name="SMSException" use="literal"/>
    </wsdl:fault>
    <wsdl:fault name="EnablerException">
    <wsdlsoap:fault name="EnablerException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="sendSMSToAlias">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sendSMSToAliasRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sendSMSToAliasResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="SMSException">
    <wsdlsoap:fault name="SMSException" use="literal"/>
    </wsdl:fault>
    <wsdl:fault name="EnablerException">
    <wsdlsoap:fault name="EnablerException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    <wsdl:operation name="sendSMSWithNotificationToAlias">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="sendSMSWithNotificationToAliasRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:output name="sendSMSWithNotificationToAliasResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="SMSException">
    <wsdlsoap:fault name="SMSException" use="literal"/>
    </wsdl:fault>
    <wsdl:fault name="EnablerException">
    <wsdlsoap:fault name="EnablerException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SMSSenderEnablerRemoteService">
    <wsdl:port
    binding="impl:SMSSenderEnablerRemoteSoapBinding"
    name="SMSSenderEnablerRemote">
    <wsdlsoap:address
    location="http://localhost:8888/Simulateur/services/SMSSenderEnablerRemote?wsdl"/>
    </wsdl:port>
    </wsdl:service>
    <plnk:partnerLinkType name="SMSSenderEnablerRemoteLink">
    <plnk:role name="SMSSenderEnablerRemoteProvider">
    <plnk:portType name="impl:SMSSenderEnablerRemote"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </wsdl:definitions>
    Is that possible to reuse (in a BPEL file) schemas types defined in a wsdl file with Oracle PM? Could you give me a hint to solve this problem?
    Many Thanks
    Guillaume

    You need to use the XSLT before you do assignment to achieve this, to
    change the message to the correct namespace.
    Please refer to sample at
    "orabpel\samples\tutorials\114.XSLTTransformations" which talks about
    how to use XSLT transformation.
    And please refer to
    "orabpel\samples\tutorials\121.FileAdapter\ComplexStructure" sample
    especially "InvToPo.xslt" which talks about doing transformations
    between 2 structures pointing to different namespaces.

  • Problem with WSDL file

    Hi,
    I'm new with web services and want to publish a stateless Java class as web service.
    I've created the WSDL file by means of the Web Service Publishing Wizard.
    when I run the "Web service stub/Skeleton Wizard" in step 1 of 2 appears the following warning message:
    "WSDL validation failed with the following exception:
    oracle.xml.parser.v2.XML.ParseException:
    Withespace required".
    Some idea ??
    Thanks in advance
    Alejandro von Eckenbrecher
    [email protected]

    Mike,
    I'm working with the example of OTN "Publish a Stateless Pure Java Web Service".
    I've find that the WSDL file is not being generated correctly, the latest two lines are:
    <binding name="HelloImplBinding" type="tns:HelloImplPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"
    If I manually correct them as these:
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    </definitions>
    (add the tags in bold),the XML parser don't report erros and can run the stub/skeleton wizard but in step 2 of 2 don't find any service.
    I believe that the problem this in the WSDL file but them
    are generated automatically from the example files.
    below will find the complete file for reference.
    Thanks
    Alejandro
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!--Generated by the Oracle9i JDeveloper Web Services WSDL Generator-->
    <!--Date Created: Wed May 07 15:00:46 ART 2003-->
    <definitions
    name="HelloImpl"
    targetNamespace="http://HelloImpl.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://HelloImpl.wsdl"
    xmlns:ns1="http://IHelloImpl.xsd">
    <types>
    <schema
    targetNamespace="http://IHelloImpl.xsd"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"/>
    </types>
    <message name="sayHello0Request">
    <part name="param" type="xsd:string"/>
    </message>
    <message name="sayHello0Response">
    <part name="return" type="xsd:string"/>
    </message>
    <portType name="HelloImplPortType">
    <operation name="sayHello">
    <input name="sayHello0Request" message="tns:sayHello0Request"/>
    <output name="sayHello0Response" message="tns:sayHello0Response"/>
    </operation>
    </portType>
    <binding name="HelloImplBinding" type="tns:HelloImplPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"

  • Messages not adviced in extern definition after import wsdl-file from WAS

    Hi friends,
    after importing the three wsld-files in repository (extern definitions) the messages are not adviced. The referendes to the files are fine, because the name is shown at the tab externe...
    But i´m not shure wheather i tool the right link ant Web Service Navigator. It is right to download the default SAP WSDL Files or the default one? Because in the SAP WSDL-files there will be an exception during import in XI repository (tag sap:useFeatur). What is the problem that the messages are not shown on the tab messages in externe definitions?
    Thanks in advance,
    Frank

    I've the same problem. Here is my WSDL:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://blablabla.de:8080/jboss-net/services/MyServices" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://blablabla.de:8080/jboss-net/services/MyServices" xmlns:intf="http://blablabla.de:8080/jboss-net/services/MyServices" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="blablabla.de" xmlns:tns2="http://net.jboss.org/jmx" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <wsdl:types>
              <schema targetNamespace="blablabla.de" xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
                   <complexType name="MSOBean">
                        <sequence>
                             <element name="installationName" nillable="true" type="xsd:string"/>
                             <element name="requestId" nillable="true" type="xsd:string"/>
                             <element name="returnCode" type="xsd:int"/>
                             <element name="returnMessage" nillable="true" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="MSIBean">
                        <sequence>
                             <element name="password" nillable="true" type="xsd:string"/>
                             <element name="project" nillable="true" type="xsd:string"/>
                             <element name="requestId" nillable="true" type="xsd:string"/>
                             <element name="userId" nillable="true" type="xsd:string"/>
                        </sequence>
                   </complexType>
              </schema>
         </wsdl:types>
         <wsdl:message name="actualizeRequest">
              <wsdl:part name="inData" type="tns1:MSIBean"/>
         </wsdl:message>
         <wsdl:message name="actualizeResponse">
              <wsdl:part name="actualizeReturn" type="tns1:MSOBean"/>
         </wsdl:message>
         <wsdl:portType name="MSService">
              <wsdl:operation name="actualize" parameterOrder="inData">
                   <wsdl:input message="impl:actualizeRequest" name="actualizeRequest"/>
                   <wsdl:output message="impl:actualizeResponse" name="actualizeResponse"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="MyServicesSoapBinding" type="impl:MSService">
              <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="actualize">
                   <wsdlsoap:operation soapAction=""/>
                   <wsdl:input name="actualizeRequest">
                        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://blablabla.de" use="encoded"/>
                   </wsdl:input>
                   <wsdl:output name="actualizeResponse">
                        <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://blablabla.de:8080/jboss-net/services/MyServices" use="encoded"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="MSServiceService">
              <wsdl:port binding="impl:MyServicesSoapBinding" name="MyServices">
                   <wsdlsoap:address location="http://blablabla.de:8080/jboss-net/services/MyServices"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>
    No Idea.

  • Incomplete WSDL file generated

    Hi,
    I am testing synchronous processes deployed to BPEL PM 10.1.2.0.2 running on Linux. There are 20 processes deployed, and randomly I encounter the following problem: when testing a process (may be any one), the caller encounters a WSDL validation error with the sync process.
    When calling from another BPEL process, the error goes along the lines of: Cannot find binding operation definition based on wsaAction='null', and soapAction='process' in .......wsdl. When testing from Soap UI, an error message states there is nothing to import. However, the process can still be invoked from the BPEL test console.
    When I check the WSDL file of the process on the server it is incomplete, missing the <binding> and <service> tags and their contents. To solve the problem, I redeploy the process from JDeveloper (without modifying it), and the WSDL file is then generated normally and I can once again invoke the process.
    Any ideas how to resolve this?
    Thanks,
    Nicholas

    I have an urgent need for a Sr, Oracle BPEL Developer in the Dallas Texas area. With this position, you can interview and start immediately. If you are interested or know of anyone looking please send my way.
    Warm regards,
    Kim Dobson
    Sr. Account Manager
    Eventus Group Technology Resources
    10100 N. Central Expressway
    Suite 150
    Dallas, TX 75231
    Office 469.916.4857
    Mobile 214.277.2097
    Fax 469.916.3861
    [email protected]

  • Error importing WSDL file

    Hi All,
    When i try to import a WSDL file in the repository as an external definition i get the following error message:
    "Unable to convert imported document to WSDL
    Reason: Tag input cannot have an attribute message from namespace
    Check the selected category"
    Below here is the WSDL file. Can anyone see what i do wrong and/or is wrong with the WSDL file?
    thanks a bunch!
    Jeff
    <?xml version="1.0" encoding="utf-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IwsSAPPocservice"
    targetNamespace="urn://test/" xmlns:tns="urn://test/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:ns1="urn:tpg_sapxi-wsSAPPocIntf">
      <types>
        <xs:schema targetNamespace="urn:tpg_sapxi-wsSAPPocIntf" xmlns="urn:tpg_sapxi-wsSAPPocIntf">
          <xs:complexType name="TRemotableOrder">
            <xs:sequence>
              <xs:element name="DagID" type="xs:int"/>
              <xs:element name="OrderNr" type="xs:int"/>
              <xs:element name="BedrLoc_Proc_Cd" type="xs:int"/>
              <xs:element name="KlantNr" type="xs:int"/>
              <xs:element name="KlantNr_Verreken" type="xs:int"/>
              <xs:element name="Aanpak_Loc_Cd" type="xs:int"/>
              <xs:element name="Aanpak_OrderNr" type="xs:int"/>
              <xs:element name="Aanpak_Order_Dt" type="xs:dateTime"/>
              <xs:element name="OrderRegels" type="ns1:OrderRegelArray"/>
            </xs:sequence>
          </xs:complexType>
          <xs:complexType name="OrderRegelArray">
            <xs:complexContent>
              <xs:restriction base="soapenc:Array">
                <xs:sequence/>
                <xs:attribute ref="soapenc:arrayType" n1:arrayType="ns1:TRemotableOrderRegel[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
              </xs:restriction>
            </xs:complexContent>
          </xs:complexType>
          <xs:complexType name="TRemotableOrderRegel">
            <xs:sequence>
              <xs:element name="OrderRegelNr" type="xs:int"/>
              <xs:element name="ProdAfsprNr" type="xs:int"/>
              <xs:element name="ProdSrt_ID" type="xs:int"/>
              <xs:element name="Landen_Groep" type="xs:int"/>
              <xs:element name="Frank_Wijze_OptieSrt_Cd" type="xs:int"/>
              <xs:element name="Ref_Aantal" type="xs:double"/>
              <xs:element name="MeetEh_Cd_Aantal" type="xs:int"/>
              <xs:element name="Ref_Gew" type="xs:double"/>
              <xs:element name="MeetEh_Cd_Ref_Aantal" type="xs:int"/>
              <xs:element name="Ptt_Aantal" type="xs:int"/>
              <xs:element name="Ptt_Gewicht_Per_Zending" type="xs:double"/>
              <xs:element name="Partij_Gewogen_Totaal" type="xs:double"/>
              <xs:element name="Partij_Handmatig" type="xs:double"/>
              <xs:element name="Metingen" type="ns1:OrderRegelMetingenArray"/>
              <xs:element name="ProdAfspraken" type="ns1:OrderRegelProdAfsprakenArray"/>
            </xs:sequence>
          </xs:complexType>
          <xs:complexType name="OrderRegelMetingenArray">
            <xs:complexContent>
              <xs:restriction base="soapenc:Array">
                <xs:sequence/>
                <xs:attribute ref="soapenc:arrayType" n1:arrayType="ns1:TRemotableOrderRegelMeting[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
              </xs:restriction>
            </xs:complexContent>
          </xs:complexType>
          <xs:complexType name="OrderRegelProdAfsprakenArray">
            <xs:complexContent>
              <xs:restriction base="soapenc:Array">
                <xs:sequence/>
                <xs:attribute ref="soapenc:arrayType" n1:arrayType="ns1:TOrderRegelProdAfspraak[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
              </xs:restriction>
            </xs:complexContent>
          </xs:complexType>
          <xs:complexType name="TRemotableOrderRegelMeting">
            <xs:sequence>
              <xs:element name="OptieSrt_Cd" type="xs:int"/>
              <xs:element name="MeetEenh_Cd" type="xs:int"/>
              <xs:element name="OrderRgl_Met_Wrd" type="xs:double"/>
            </xs:sequence>
          </xs:complexType>
          <xs:complexType name="TOrderRegelProdAfspraak">
            <xs:sequence>
              <xs:element name="ProdAfsprNr" type="xs:int"/>
              <xs:element name="Oordeel_Balie_Cd" type="xs:int"/>
              <xs:element name="Res_Ctr_Vnw_1" type="xs:int"/>
              <xs:element name="Res_Ctr_Vnw_2" type="xs:int"/>
              <xs:element name="Res_Ctr_Vnw_3" type="xs:int"/>
              <xs:element name="Ers_Afhandelingscode" type="xs:string"/>
              <xs:element name="Min_Aantal_Voorw_Ind" type="xs:string"/>
            </xs:sequence>
          </xs:complexType>
          <xs:complexType name="PrijsInfoArray">
            <xs:complexContent>
              <xs:restriction base="soapenc:Array">
                <xs:sequence/>
                <xs:attribute ref="soapenc:arrayType" n1:arrayType="ns1:TRemotablePrijsInfo[]"
    xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
              </xs:restriction>
            </xs:complexContent>
          </xs:complexType>
          <xs:complexType name="TRemotablePrijsInfo">
            <xs:sequence>
              <xs:element name="RegelNr" type="xs:int"/>
              <xs:element name="PrijsNr" type="xs:int"/>
              <xs:element name="Prijs" type="xs:double"/>
              <xs:element name="Btw" type="xs:double"/>
            </xs:sequence>
          </xs:complexType>
        </xs:schema>
      </types>
      <message name="prijsOrderRegel0Request">
        <part name="klantnr_verreken" type="xs:int"/>
        <part name="aanpak_loc_cd" type="xs:int"/>
        <part name="orderrglnr" type="xs:int"/>
        <part name="prodafsprnr" type="xs:int"/>
        <part name="prodsrt_id" type="xs:int"/>
        <part name="landen_groep" type="xs:int"/>
        <part name="frank_wijze_optiesrt_cd" type="xs:int"/>
        <part name="Prijs" type="xs:double"/>
        <part name="BTW" type="xs:double"/>
      </message>
      <message name="prijsOrderRegel0Response">
        <part name="Prijs" type="xs:double"/>
        <part name="BTW" type="xs:double"/>
        <part name="return" type="xs:int"/>
      </message>
      <message name="prijsOrderObj1Request">
        <part name="order" type="ns1:TRemotableOrder"/>
      </message>
      <message name="prijsOrderObj1Response">
        <part name="return" type="ns1:PrijsInfoArray"/>
      </message>
      <portType name="IwsSAPPoc">
        <operation name="prijsOrderRegel">
          <input message="tns:prijsOrderRegel0Request"/>
          <output message="tns:prijsOrderRegel0Response"/>
        </operation>
        <operation name="prijsOrderObj">
          <input message="tns:prijsOrderObj1Request"/>
          <output message="tns:prijsOrderObj1Response"/>
        </operation>
      </portType>
      <binding name="IwsSAPPocbinding" type="tns:IwsSAPPoc">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="prijsOrderRegel">
          <soap:operation soapAction="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc#prijsOrderRegel" style="rpc"/>
          <input message="tns:prijsOrderRegel0Request">
            <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc"/>
          </input>
          <output message="tns:prijsOrderRegel0Response">
            <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc"/>
          </output>
        </operation>
        <operation name="prijsOrderObj">
          <soap:operation soapAction="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc#prijsOrderObj" style="rpc"/>
          <input message="tns:prijsOrderObj1Request">
            <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc"/>
          </input>
          <output message="tns:prijsOrderObj1Response">
            <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc"/>
          </output>
        </operation>
      </binding>
      <service name="IwsSAPPocservice">
        <port name="IwsSAPPocPort" binding="tns:IwsSAPPocbinding">
          <soap:address location="http://prid0059.tpgpost.local/SAPPocWebService/SAPPocWebService.exe/soap/IwsSAPPoc"/>
        </port>
      </service>
    </definitions>

    Hi Jeffrey,
    Modify the file like this, it will work.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"<b> xmlns:tns="urn://test/"</b> xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="urn:tpg_sapxi-wsSAPPocIntf" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="IwsSAPPocservice" targetNamespace="urn://test/">
         <types>
              <xs:schema xmlns="urn:tpg_sapxi-wsSAPPocIntf" targetNamespace="urn:tpg_sapxi-wsSAPPocIntf">
                   <xs:complexType name="TRemotableOrder">
                        <xs:sequence>
                             <xs:element name="DagID" type="xs:int" />
                             <xs:element name="OrderNr" type="xs:int" />
                             <xs:element name="BedrLoc_Proc_Cd" type="xs:int" />
                             <xs:element name="KlantNr" type="xs:int" />
                             <xs:element name="KlantNr_Verreken" type="xs:int" />
                             <xs:element name="Aanpak_Loc_Cd" type="xs:int" />
                             <xs:element name="Aanpak_OrderNr" type="xs:int" />
                             <xs:element name="Aanpak_Order_Dt" type="xs:dateTime" />
                             <xs:element name="OrderRegels" type="ns1:OrderRegelArray" />
                        </xs:sequence>
                   </xs:complexType>
                   <xs:complexType name="OrderRegelArray">
                        <xs:complexContent>
                             <xs:restriction base="soapenc:Array">
                                  <xs:sequence />
                                  <xs:attribute xmlns:n1="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arrayType" n1:arrayType="ns1:TRemotableOrderRegel[]" />
                             </xs:restriction>
                        </xs:complexContent>
                   </xs:complexType>
                   <xs:complexType name="TRemotableOrderRegel">
                        <xs:sequence>
                             <xs:element name="OrderRegelNr" type="xs:int" />
                             <xs:element name="ProdAfsprNr" type="xs:int" />
                             <xs:element name="ProdSrt_ID" type="xs:int" />
                             <xs:element name="Landen_Groep" type="xs:int" />
                             <xs:element name="Frank_Wijze_OptieSrt_Cd" type="xs:int" />
                             <xs:element name="Ref_Aantal" type="xs:double" />
                             <xs:element name="MeetEh_Cd_Aantal" type="xs:int" />
                             <xs:element name="Ref_Gew" type="xs:double" />
                             <xs:element name="MeetEh_Cd_Ref_Aantal" type="xs:int" />
                             <xs:element name="Ptt_Aantal" type="xs:int" />
                             <xs:element name="Ptt_Gewicht_Per_Zending" type="xs:double" />
                             <xs:element name="Partij_Gewogen_Totaal" type="xs:double" />
                             <xs:element name="Partij_Handmatig" type="xs:double" />
                             <xs:element name="Metingen" type="ns1:OrderRegelMetingenArray" />
                             <xs:element name="ProdAfspraken" type="ns1:OrderRegelProdAfsprakenArray" />
                        </xs:sequence>
                   </xs:complexType>
                   <xs:complexType name="OrderRegelMetingenArray">
                        <xs:complexContent>
                             <xs:restriction base="soapenc:Array">
                                  <xs:sequence />
                                  <xs:attribute xmlns:n1="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arrayType" n1:arrayType="ns1:TRemotableOrderRegelMeting[]" />
                             </xs:restriction>
                        </xs:complexContent>
                   </xs:complexType>
                   <xs:complexType name="OrderRegelProdAfsprakenArray">
                        <xs:complexContent>
                             <xs:restriction base="soapenc:Array">
                                  <xs:sequence />
                                  <xs:attribute xmlns:n1="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arrayType" n1:arrayType="ns1:TOrderRegelProdAfspraak[]" />
                             </xs:restriction>
                        </xs:complexContent>
                   </xs:complexType>
                   <xs:complexType name="TRemotableOrderRegelMeting">
                        <xs:sequence>
                             <xs:element name="OptieSrt_Cd" type="xs:int" />
                             <xs:element name="MeetEenh_Cd" type="xs:int" />
                             <xs:element name="OrderRgl_Met_Wrd" type="xs:double" />
                        </xs:sequence>
                   </xs:complexType>
                   <xs:complexType name="TOrderRegelProdAfspraak">
                        <xs:sequence>
                             <xs:element name="ProdAfsprNr" type="xs:int" />
                             <xs:element name="Oordeel_Balie_Cd" type="xs:int" />
                             <xs:element name="Res_Ctr_Vnw_1" type="xs:int" />
                             <xs:element name="Res_Ctr_Vnw_2" type="xs:int" />
                             <xs:element name="Res_Ctr_Vnw_3" type="xs:int" />
                             <xs:element name="Ers_Afhandelingscode" type="xs:string" />
                             <xs:element name="Min_Aantal_Voorw_Ind" type="xs:string" />
                        </xs:sequence>
                   </xs:complexType>
                   <xs:complexType name="PrijsInfoArray">
                        <xs:complexContent>
                             <xs:restriction base="soapenc:Array">
                                  <xs:sequence />
                                  <xs:attribute xmlns:n1="http://schemas.xmlsoap.org/wsdl/" ref="soapenc:arrayType" n1:arrayType="ns1:TRemotablePrijsInfo[]" />
                             </xs:restriction>
                        </xs:complexContent>
                   </xs:complexType>
                   <xs:complexType name="TRemotablePrijsInfo">
                        <xs:sequence>
                             <xs:element name="RegelNr" type="xs:int" />
                             <xs:element name="PrijsNr" type="xs:int" />
                             <xs:element name="Prijs" type="xs:double" />
                             <xs:element name="Btw" type="xs:double" />
                        </xs:sequence>
                   </xs:complexType>
              </xs:schema>
         </types>
         <message name="prijsOrderRegel0Request">
              <part name="klantnr_verreken" type="xs:int" />
              <part name="aanpak_loc_cd" type="xs:int" />
              <part name="orderrglnr" type="xs:int" />
              <part name="prodafsprnr" type="xs:int" />
              <part name="prodsrt_id" type="xs:int" />
              <part name="landen_groep" type="xs:int" />
              <part name="frank_wijze_optiesrt_cd" type="xs:int" />
              <part name="Prijs" type="xs:double" />
              <part name="BTW" type="xs:double" />
         </message>
         <message name="prijsOrderRegel0Response">
              <part name="Prijs" type="xs:double" />
              <part name="BTW" type="xs:double" />
              <part name="return" type="xs:int" />
         </message>
         <message name="prijsOrderObj1Request">
              <part name="order" type="ns1:TRemotableOrder" />
         </message>
         <message name="prijsOrderObj1Response">
              <part name="return" type="ns1:PrijsInfoArray" />
         </message>
         <portType name="IwsSAPPoc">
              <operation name="prijsOrderRegel">
    <b>               <tns:input message="prijsOrderRegel0Request" />
                   <tns:output message="prijsOrderRegel0Response" /></b>
              </operation>
              <operation name="prijsOrderObj">
    <b>               <tns:input message="prijsOrderObj1Request" />
                   <tns:output message="prijsOrderObj1Response" /></b>
              </operation>
         </portType>
         <binding name="IwsSAPPocbinding" type="tns:IwsSAPPoc">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
              <operation name="prijsOrderRegel">
                   <soap:operation soapAction="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc#prijsOrderRegel" style="rpc" />
    <b>               <tns:input message="prijsOrderRegel0Request"></b>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc" />
    <b>               </tns:input>
                   <tns:output message="prijsOrderRegel0Response"></b>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc" />
                   <b></tns:output></b>
              </operation>
              <operation name="prijsOrderObj">
                   <soap:operation soapAction="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc#prijsOrderObj" style="rpc" />
    <b>               <tns:input message="prijsOrderObj1Request"></b>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc" />
    <b>               </tns:input>
                   <tns:output message="prijsOrderObj1Response"></b>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:tpg_sapxi-wsSAPPocIntf-IwsSAPPoc" />
                   <b></tns:output></b>
              </operation>
         </binding>
         <service name="IwsSAPPocservice">
              <port name="IwsSAPPocPort" binding="tns:IwsSAPPocbinding">
                   <soap:address location="http://prid0059.tpgpost.local/SAPPocWebService/SAPPocWebService.exe/soap/IwsSAPPoc" />
              </port>
         </service>
    </definitions>

  • Workshop IDE can not create CTRL from WSDL file

    Hi everybody,
    For the evualtion of the Workshop IDE that comes with WLS 7.0 beta, I'm developing
    a web service (via this IDE) which must interoperate with another web service
    implemented with the help of another tool. I got the corresponding WSDL of this
    "outside" web service (see attachement), and when I want to generate the corresponding
    CTRL (via Add Service Control), I get the following error:
    Error: Could not find operation 'sayHello' in portType ''
    Prescription: The operation you are trying to bind was not found among the declared
    operations. Please check your <portType> sections.
    I do not have a lot of experience with WSDL files and its specification, but I
    compared this file with another WSDL files that work with WORKSHOP IDE, and I
    do not see difference between these files and the file that does not work. Moreover
    the IDE error says that my service 'sayHello' can not be find inside the 'portType'
    tags, but if you have a look at the WSDL file, you will see that is not true ?!?!?
    Can somebody help me please?
    Have a nice day
    Vincent

    Vincent,
    What is happening is that the type attribute on the binding tag must match
    both the targetnamespace and the name of the portType name attribute. Yours
    do match in basename only. When parsing the WSDL file what we do is put the
    name attributes of the portType, service and binding tags into the
    targetNamespace of the WSDL and then we expect the references to these names
    to also be resolved to that namespace.
    In the case of your WSDL, your targetNamespace is
    http://localhost:8000/HelloWorldApp/servlet/rpcrouter and the type attribute
    on the binding attribute just references HelloWorldServicePort which means
    it will use the default namespace of http://schemas.xmlsoap.org/wsdl which
    is, of course, different than the targetNamespace.
    To fixup the WSDL I would recommend you just define a new namespace at the
    top of the WSDL file that matches the targetNamespace attribute and then use
    that prefix in the text value of the attribute used to reference that name.
    Yes, we do need to do some better parser/error messages to help identify
    this :)
    Here is one way that I have done to fixup your WSDL and Workshop does pull
    it in and expose the methods correctly:
    <?xml version='1.0'?>
    <definitions name='HelloWorldService'
    xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
    xmlns:xsd='http://www.w3.org/2001/XMLSchema'
    xmlns='http://schemas.xmlsoap.org/wsdl/'
    xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
    targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
    xmlns:test='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'
    xmlns:xsd1='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schema'>
    <types>
    <xsd:schema
    targetNamespace='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/schem
    a'>
    <xsd:simpleType name="java.lang.Integer"><xsd:restriction
    base="xsd:int"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Short"><xsd:restriction
    base="xsd:short"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Long"><xsd:restriction base="xsd:long"
    /></xsd:simpleType>
    <xsd:simpleType name="java.lang.Double"><xsd:restriction
    base="xsd:double"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Float"><xsd:restriction
    base="xsd:float"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Boolean"><xsd:restriction
    base="xsd:boolean"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Character"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.String"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.StringBuffer"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="java.lang.Byte"><xsd:restriction
    base="xsd:byte"/></xsd:simpleType>
    <xsd:simpleType name="char_lb_rb"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    <xsd:simpleType name="char"><xsd:restriction
    base="xsd:string"/></xsd:simpleType>
    </xsd:schema>
    </types>
    <message name='sayHelloInput'>
    <part name='message' type='xsd:string'/>
    </message>
    <message name='sayHelloOutput'>
    <part name='result' type='xsd:string'/>
    </message>
    <portType name='HelloWorldServicePort'>
    <operation name='sayHello'>
    <input message='test:sayHelloInput'/>
    <output message='test:sayHelloOutput'/>
    </operation>
    </portType>
    <binding name='HelloWorldServiceBinding'
    type='test:HelloWorldServicePort'>
    <soap:binding style='rpc'
    transport='http://schemas.xmlsoap.org/soap/http'/>
    <operation name='sayHello'>
    <soap:operation
    soapAction='http://localhost:8000/HelloWorldApp/servlet/rpcrouter/sayHello'/
    >
    <input>
    <soap:body use='encoded' namespace='urn:HelloWorldService'
    encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
    </input>
    <output>
    <soap:body use='encoded' namespace='urn:HelloWorldService'
    encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
    </output>
    </operation>
    </binding>
    <service name='HelloWorldService'>
    <port name='HelloWorldServicePort'
    binding='test:HelloWorldServiceBinding'>
    <soap:address
    location='http://localhost:8000/HelloWorldApp/servlet/rpcrouter'/>
    </port>
    </service>
    </definitions>
    Thanks,
    Art
    "Vincent Ducret" <[email protected]> wrote in message
    news:[email protected]...
    >
    Thanks for your answer, but I do not understand it, and also yoursuggestion.
    >
    According to WSDL specification, the 'type' attribute of a 'binding' tagmust
    reference (bind to) an exisiting 'portType' tag. And it's the case here,no? I.e.
    we have a 'portType' tag called HelloWorldServicePort, which is referencedby
    the 'binding' tag named HelloWorldServiceBinding via its 'type' attribute:'HelloWorldServicePort'.
    >
    Where is the problem ?
    Thanks a lot
    Thanks for your help

  • Error while uploading WSDL file in Interactive Form Data Connection!

    I have created we service to return some data based on user input.
    I am trying to link this webservice to Interactive adobe form! and While creating new data connection->uploading WSDL file--> I am receiving error i.e. Invalid File.
    Please help me in resolving this issue.
    I have created this WSDL file copy/pasting XML code generates from "Open WSDL document for selected binding" link in SOAMANAGER.
    Regards,
    Naveen.I

    Hello,
    This is a Webservice created for the FM : HRXSS_PER_READ_EMERGENCY_AR
    Here is the sample of the WSDL file generated, as asked by you.
    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:n1="urn:sap-com:document:sap:rfc:functions">
    - <wsdl:documentation>
      <sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl" />
      </wsdl:documentation>
      <wsp:UsingPolicy wsdl:required="true" />
    - <wsp:Policy wsu:Id="BN_BN_ZHR_READ_EMERGENCY">
      <saptrnbnd:OptimizedXMLTransfer uri="http://xml.sap.com/2006/11/esi/esp/binxml" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true" />
      <saptrnbnd:OptimizedXMLTransfer uri="http://www.w3.org/2004/08/soap/features/http-optimization" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true" />
    - <wsp:ExactlyOne xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
    - <wsp:All>
    - <sp:TransportBinding>
    - <wsp:Policy>
    - <sp:TransportToken>
    - <wsp:Policy>
      <sp:HttpsToken />
      </wsp:Policy>
      </sp:TransportToken>
    - <sp:AlgorithmSuite>
    - <wsp:Policy>
      <sp:TripleDesRsa15 />
      </wsp:Policy>
      </sp:AlgorithmSuite>
    - <sp:Layout>
    - <wsp:Policy>
      <sp:Strict />
      </wsp:Policy>
      </sp:Layout>
      </wsp:Policy>
      </sp:TransportBinding>
      </wsp:All>
      </wsp:ExactlyOne>
      </wsp:Policy>
    - <wsp:Policy wsu:Id="IF_IF_ZHR_READ_EMERGENCY">
    - <sapsession:Session xmlns:sapsession="http://www.sap.com/webas/630/soap/features/session/">
      <sapsession:enableSession>false</sapsession:enableSession>
      </sapsession:Session>
      <sapcentraladmin:CentralAdministration xmlns:sapcentraladmin="http://www.sap.com/webas/700/soap/features/CentralAdministration/" wsp:Optional="true" />
      </wsp:Policy>
    - <wsp:Policy wsu:Id="OP_IF_OP_HrxssPerReadEmergencyAr">
      <sapcomhnd:enableCommit xmlns:sapcomhnd="http://www.sap.com/NW05/soap/features/commit/">false</sapcomhnd:enableCommit>
      <sapblock:enableBlocking xmlns:sapblock="http://www.sap.com/NW05/soap/features/blocking/">true</sapblock:enableBlocking>
      <saptrhnw05:required xmlns:saptrhnw05="http://www.sap.com/NW05/soap/features/transaction/">no</saptrhnw05:required>
      <saprmnw05:enableWSRM xmlns:saprmnw05="http://www.sap.com/NW05/soap/features/wsrm/">false</saprmnw05:enableWSRM>
      </wsp:Policy>
    - <wsdl:types>
    - <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions">
    - <xsd:simpleType name="char1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
    "More simple types
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:schema>
    - <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:n0="urn:sap-com:document:sap:rfc:functions">
      <xsd:import namespace="urn:sap-com:document:sap:rfc:functions" />
    - <xsd:complexType name="Bapiret2">
    - <xsd:sequence>
    "More element names
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="Messages" type="tns:Bapirettab" />
      <xsd:element name="Records" type="tns:HcmtBspPaArR0006Tab" />
      <xsd:element name="Records2" type="tns:HcmtBspPaArR0021Tab" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="HrxssPerReadEmergencyAr">
      <wsdl:part name="parameters" element="tns:HrxssPerReadEmergencyAr" />
      </wsdl:message>
    - <wsdl:message name="HrxssPerReadEmergencyArResponse">
      <wsdl:part name="parameter" element="tns:HrxssPerReadEmergencyArResponse" />
      </wsdl:message>
    - <wsdl:portType name="ZHR_READ_EMERGENCY">
    - <wsp:Policy>
      <wsp:PolicyReference URI="#IF_IF_ZHR_READ_EMERGENCY" />
      </wsp:Policy>
    - <wsdl:operation name="HrxssPerReadEmergencyAr">
    - <wsp:Policy>
      <wsp:PolicyReference URI="#OP_IF_OP_HrxssPerReadEmergencyAr" />
      </wsp:Policy>
      <wsdl:input message="tns:HrxssPerReadEmergencyAr" />
      <wsdl:output message="tns:HrxssPerReadEmergencyArResponse" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ZHR_READ_EMERGENCY" type="tns:ZHR_READ_EMERGENCY">
    - <wsp:Policy>
      <wsp:PolicyReference URI="#BN_BN_ZHR_READ_EMERGENCY" />
      </wsp:Policy>
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <wsdl:operation name="HrxssPerReadEmergencyAr">
      <soap:operation soapAction="" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="service">
    - <wsdl:port name="ZHR_READ_EMERGENCY" binding="tns:ZHR_READ_EMERGENCY">
      <soap:address location="http://cieh4-srvr.collabera.com:8000/sap/bc/srt/rfc/sap/zhr_read_emergency/900/zhr_read_emergency/zhr_read_emergency" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    Cheers,
    Remi

  • Error reading wsdl file excepetion null

    Hi
    I am trying to invoke a proxy service (web service) wsdl from a bpel process. When i add a web service adapter, put url of external web service and save it, all my service end points defined in the BPEL process are becoming non editable. Binding of operation is changing from web service to HTTP binding for all end points. When I try to edit any partner link, Jdev throws an error " error reading wsdl file excepetion null " for local services. For external service, even though i am refering to a url on the server, it points to " C:\Oracle\Middleware\jdeveloper\jdev\bin\...\xxxx?WSDL" and throws same error " failed to read wsdl file(System could not find the path specified". I am just clueless as to why this is happening. Any help is much appreciated.

    Try the SOA Forum - SOA Suite

  • Unable to generate WebService Client with Exported (BAPI) WSDL file from XI

    Hi there,
    I, trying to setup a simple Web Service environment where I'll be exposing a BAPI as Web Service via XI.
    So these are the steps I followed:
    <b>1)</b> first I imported the BAPI meta data into my SWC in the repository. <b>2)</b> Second I defined my interrface etc.. <b>3)</b> Third I exported the generated BAPI WSDL file. <b>4)</b> Fourth, I tried to generate a Java proxy/client for my Web Service using a Java IDE (IBM WebSphere Application Developer and XML Spy).
    Now the problem is that Im not able to generate the Web Service client using the exported WSDL file, the WSDL seems not to be valid...From the generated errors in the IDE, I can see that the problem has to do somewhere/somehow with the WSDL Binding element, which input parameters do not match the input parameters of the port type.
    This is a small part of the WSDL file as generated by XI:
         <wsdl:message name="BAPI_AR_ACC_GETOPENITEMS.Input">
              <wsdl:part name="parameters" element="s0:BAPI_AR_ACC_GETOPENITEMS" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
         </wsdl:message>
         <wsdl:message name="BAPI_AR_ACC_GETOPENITEMS.Output">
              <wsdl:part name="parameters" element="s0:BAPI_AR_ACC_GETOPENITEMS.Response" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
         </wsdl:message>
         <wsdl:portType name="BAPI_AR_ACC_GETOPENITEMS.PortType">
              <wsdl:operation name="BAPI_AR_ACC_GETOPENITEMS">
                   <wsdl:input message="s0:BAPI_AR_ACC_GETOPENITEMS.Input"/>
                   <wsdl:output message="s0:BAPI_AR_ACC_GETOPENITEMS.Output"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="BAPI_AR_ACC_GETOPENITEMS.SAPBinding" type="s0:BAPI_AR_ACC_GETOPENITEMS.PortType" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
              <s0:binding style="rfc"/>
    Has anyone faced a situation like this before? Any clues where to look? I appreciate any feedback, thanks!
    Rob.
    Message was edited by: rob viana

    Hi Rob!
    I'm facing the same problem - how did you solve your issue then? I'm getting following error during generation on .NET side:
    ============================================================================================
    Error: There was an error processing 'http://server/wsdl/MIAMI_ACCDOCPost.wsdl'.
      - The document at the url http://server/wsdl/MIAMI_ACCDOCPost.wsdl
    was not recognized as a known document type.
    The error message from each known type may help you fix the problem:
    - Report from 'DISCO Document' is 'Discovery document at the URL http://server/wsdl/MIAMI_ACCDOCPost.wsdl could not be found.'.
      - The document format is not recognized (the content type is 'content/unknown').
    - Report from 'WSDL Document' is 'There is an error in XML document (2, 70138).'.
      - Value cannot be null.
    Parameter name: name
    - Report from 'XML Schema' is 'The root element of a W3C XML Schema should be <schema> and its namespace should be 'http://www.w3.org/2001/XMLSchema'.'.
    ============================================================================================
    kr Martin

Maybe you are looking for

  • Error while deploying Planning Application

    Hi. I am trying to deploy a planning application in EPMA and it gives me the following error.. Never appeared before please help Mar 4, 2013 3:10:52 PM]: Parsing Application Properties... [Mar 4, 2013 3:10:52 PM]: Application Configuration Properties

  • Is there a workaround for websites that use "frames" when Safari does not support?

    Is there a workaround for a website that requires "frames" when Safari (5.0.6) does not support it?

  • Iweb: Change page size

    I cannot seem to change the size of my website pages. I used to be able to change it through the inspector but I cannot seem to do it now. Or I have forgotten how I did it. Can anyone tell me how?

  • NFS server unmount error w/ bind-mount

    Hello, please let me know if I should change the thread title. so I'm sharing a folder through NFS between two arch-linux pc's. Host1 is my desktop, Host2 is my laptop. I boot up my computer, rpcbind is started on boot-up I launch the server on Host2

  • How many USB-powered 1TB can you plug into an HP G71 Notebook

    I'm using Windows 7 (service pack 1).  I have 3 USB ports, one of which I've extended with a 4-slot extension.  I bought a Western Digital Elements and an I Omega 1 TB USB portable hard drive (each nominally clocks in at 930 gigabytes).  I plugged on