No announcement yet.

How to call a WebService from OTM (WDSL)

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to call a WebService from OTM (WDSL)

    I need to call a Web Service from OTM and I cannot do it. I have followed the following steps:
    1- Create a WebService in the Comunication Management. (Soap Encoding = Document. Style= Request/Response) (The Wdsl is attached below)
    2- Create an externa system, with the Web Service Asociated
    3- Create an Automation Agent. When an order is created, send integration to the external system

    I have the following error:

    oracle.xml.parser.v2.XMLParseException: Start of root element expected.

    in other cases i have this error:

    org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.

    The Wdsl of the external web service is:

    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="" xmlns:apachesoap="" xmlns:impl="" xmlns:intf="" xmlns:wsdl="" xmlns:wsdlsoap="" xmlns:xsd="">
    - <!-- WSDL created by Apache Axis version: 1.3Built on Oct 05, 2005 (05:23:37 EDT) -->
    - <wsdl:types>
    - <schema elementFormDefault="qualified" targetNamespace="" xmlns="">
    - <element name="actualizaEstadoOrden">
    <complexType />


    - <element name="actualizaEstadoOrdenResponse">
    - <complexType>
    - <sequence>
    <element name="actualizaEstadoOrdenReturn" type="xsd:string" />






    - <wsdl:message name="actualizaEstadoOrdenResponse">
    <wsdlart element="intf:actualizaEstadoOrdenResponse" name="parameters" />


    - <wsdl:message name="actualizaEstadoOrdenRequest">
    <wsdlart element="intf:actualizaEstadoOrden" name="parameters" />


    - <wsdlortType name="TestSimpleWS">
    - <wsdlperation name="actualizaEstadoOrden">
    <wsdl:input message="intf:actualizaEstadoOrdenRequest" name="actualizaEstadoOrdenRequest" />

    <wsdlutput message="intf:actualizaEstadoOrdenResponse" name="actualizaEstadoOrdenResponse" />



    - <wsdl:binding name="TestSimpleWSSoapBinding" type="intf:TestSimpleWS">
    <wsdlsoap:binding style="document" transport="" />

    - <wsdlperation name="actualizaEstadoOrden">
    <wsdlsoapperation soapAction="" />

    - <wsdl:input name="actualizaEstadoOrdenRequest">
    <wsdlsoap:body use="literal" />


    - <wsdlutput name="actualizaEstadoOrdenResponse">
    <wsdlsoap:body use="literal" />




    - <wsdl:service name="TestSimpleWSService">
    - <wsdlort binding="intf:TestSimpleWSSoapBinding" name="TestSimpleWS">
    <wsdlsoap:address location="" />




  • #2
    Re: How to call a WebService from OTM (WDSL)

    Hi Garcia,

    I couldnt find any attachment. Kindly attach that doc you had mentioned..



    • #3
      Re: How to call a WebService from OTM (WDSL)

      Sorry, the wsdl is written down in the message, is not attached