Weak Xcelsius when consuming web services

Post Author: cybercowboy
CA Forum: Xcelsius and Live Office
The following wsdl is deployed on weblogic 10.0. SoapUI, java, .net, flex ... can all consume it. Only Xcelsius can not even load the wsdl. Anybody who is familiar with the Xcelsius can give me any hints? I am using Xcelsius 2008. Thanks a lot!<?xml version='1.0' encoding='UTF-8'?><s0:definitions name="HelloWorldServiceDefinitions" targetNamespace="http://tempuri.org/" xmlns="" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://tempuri.org/" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/">  <s0:types>    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://tempuri.org/" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema">      <xs:element name="sayHelloWorld">        <xs:complexType>          <xs:sequence/>        </xs:complexType>      </xs:element>      <xs:element name="sayHelloWorldResponse">        <xs:complexType>          <xs:sequence>            <xs:element name="StringOutput" type="xs:string"/>          </xs:sequence>        </xs:complexType>      </xs:element>    </xs:schema>  </s0:types>  <s0:message name="sayHelloWorld">    <s0:part element="s1:sayHelloWorld" name="parameters"/>  </s0:message>  <s0:message name="sayHelloWorldResponse">    <s0:part element="s1:sayHelloWorldResponse" name="parameters"/>  </s0:message>  <s0:portType name="HelloWorldPortType">    <s0:operation name="sayHelloWorld" parameterOrder="parameters">      <s0:input message="s1:sayHelloWorld"/>      <s0:output message="s1:sayHelloWorldResponse"/>    </s0:operation>  </s0:portType>  <s0:binding name="HelloWorldServiceSoapBinding" type="s1:HelloWorldPortType">    <s2:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>    <s0:operation name="sayHelloWorld">      <s2:operation soapAction="" style="document"/>      <s0:input>        <s2:body parts="parameters" use="literal"/>      </s0:input>      <s0:output>        <s2:body parts="parameters" use="literal"/>      </s0:output>    </s0:operation>  </s0:binding>  <s0:service name="HelloWorldService">    <s0:port binding="s1:HelloWorldServiceSoapBinding" name="HelloWorldServicePort">      <s2:address location="http://localhost:7001/HelloWorldServices/HelloWorldImpl"/>    </s0:port>  </s0:service></s0:definitions>

Post Author: muhammedismail
CA Forum: Xcelsius and Live Office
Multiple Schema could not be the issue as Xcelsius can consume the following weblogic WSDL.Can you point the documentation which lists what web service protocols or standards Xcelcius adheres to. What its limitations are. Basically most experts point to using .NET webservices. However none of them does not discuss what exactly in weblogic is not meeting the standard. <?xml version="1.0" encoding="UTF-8"?><definitions  xmlns:tns="java:com.compy.tiby.services"  xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"  xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding"  xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"  xmlns:s="http://www.w3.org/2001/XMLSchema"  xmlns="http://schemas.xmlsoap.org/wsdl/"  targetNamespace="java:com.compy.tiby.services"> <types   xmlns:tns="java:com.compy.tiby.services"   xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"   xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"   xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"   xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"   xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"   xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding"   xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"   xmlns:s="http://www.w3.org/2001/XMLSchema"   xmlns="http://schemas.xmlsoap.org/wsdl/">  <xsd:schema    xmlns:xsd="http://www.w3.org/2001/XMLSchema"    xmlns:stns="java:com.compy.tiby.tops.exception"    elementFormDefault="qualified"    attributeFormDefault="qualified"    targetNamespace="java:com.compy.tiby.tops.exception">   <xsd:element     type="stns:topsServiceException"     name="topsServiceException">   </xsd:element>   <xsd:complexType     name="topsServiceException">    <xsd:sequence>     <xsd:element       type="xsd:string"       name="ID"       minOccurs="1"       nillable="true"       maxOccurs="1">     </xsd:element>     <xsd:element       type="xsd:string"       name="causeDetail"       minOccurs="1"       nillable="true"       maxOccurs="1">     </xsd:element>     <xsd:element       type="xsd:string"       name="causeException"       minOccurs="1"       nillable="true"       maxOccurs="1">     </xsd:element>     <xsd:element       type="xsd:string"       name="causeID"       minOccurs="1"       nillable="true"       maxOccurs="1">     </xsd:element>     <xsd:element       type="xsd:string"       name="causeMessage"       minOccurs="1"       nillable="true"       maxOccurs="1">     </xsd:element>     <xsd:element       type="xsd:string"       name="message"       minOccurs="1"       nillable="true"       maxOccurs="1">     </xsd:element>     <xsd:element       type="xsd:string"       name="operation"       minOccurs="1"       nillable="true"       maxOccurs="1">     </xsd:element>    </xsd:sequence>   </xsd:complexType>  </xsd:schema>  <xsd:schema    xmlns:xsd="http://www.w3.org/2001/XMLSchema"    xmlns:stns="java:com.compy.tiby.model"    elementFormDefault="qualified"    attributeFormDefault="qualified"    targetNamespace="java:com.compy.tiby.model">   <xsd:complexType     name="tibyBaseModel">   </xsd:complexType>  </xsd:schema>  <xsd:schema    xmlns:xsd="http://www.w3.org/2001/XMLSchema"    xmlns:stns="java:com.compy.tiby.model.tops"    elementFormDefault="qualified"    attributeFormDefault="qualified"    targetNamespace="java:com.compy.tiby.model.tops">   <xsd:import     namespace="java:com.compy.tiby.model">   </xsd:import>   <xsd:complexType     name="NavigationGroup">    <xsd:complexContent>     <xsd:extension       xmlns:tp="java:com.compy.tiby.model"       base="tp:tibyBaseModel">      <xsd:sequence>       <xsd:element         type="xsd:string"         name="navGroupDesc"         minOccurs="1"         nillable="true"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:int"         name="navGroupId"         minOccurs="1"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:string"         name="navGroupTitle"         minOccurs="1"         nillable="true"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:int"         name="sequence"         minOccurs="1"         maxOccurs="1">       </xsd:element>      </xsd:sequence>     </xsd:extension>    </xsd:complexContent>   </xsd:complexType>   <xsd:complexType     name="NavigationLink">    <xsd:complexContent>     <xsd:extension       xmlns:tp="java:com.compy.tiby.model"       base="tp:tibyBaseModel">      <xsd:sequence>       <xsd:element         type="xsd:string"         name="URL"         minOccurs="1"         nillable="true"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:boolean"         name="intops"         minOccurs="1"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:int"         name="moduleId"         minOccurs="1"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:int"         name="navGroupId"         minOccurs="1"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:string"         name="navLinkDesc"         minOccurs="1"         nillable="true"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:int"         name="navLinkId"         minOccurs="1"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:string"         name="navLinkTitle"         minOccurs="1"         nillable="true"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:boolean"         name="newWindow"         minOccurs="1"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:int"         name="reportId"         minOccurs="1"         maxOccurs="1">       </xsd:element>       <xsd:element         type="xsd:int"         name="sequence"         minOccurs="1"         maxOccurs="1">       </xsd:element>      </xsd:sequence>     </xsd:extension>    </xsd:complexContent>   </xsd:complexType>  </xsd:schema> </types> <message   name="deleteNavigationGroup">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:int"    name="intVal">  </part> </message> <message   name="deleteNavigationGroupResponse">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:boolean"    name="result">  </part> </message> <message   name="topsServiceException">  <part    xmlns:partns="java:com.compy.tiby.tops.exception"    type="partns:topsServiceException"    name="topsServiceException">  </part> </message> <message   name="deleteNavigationLink">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:int"    name="intVal">  </part> </message> <message   name="deleteNavigationLinkResponse">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:boolean"    name="result">  </part> </message> <message   name="updateNavigationGroup">  <part    xmlns:partns="java:com.compy.tiby.model.tops"    type="partns:NavigationGroup"    name="navigationGroup">  </part> </message> <message   name="updateNavigationGroupResponse">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:boolean"    name="result">  </part> </message> <message   name="updateNavigationLink">  <part    xmlns:partns="java:com.compy.tiby.model.tops"    type="partns:NavigationLink"    name="navigationLink">  </part> </message> <message   name="updateNavigationLinkResponse">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:boolean"    name="result">  </part> </message> <message   name="addNavigationGroup">  <part    xmlns:partns="java:com.compy.tiby.model.tops"    type="partns:NavigationGroup"    name="navigationGroup">  </part> </message> <message   name="addNavigationGroupResponse">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:int"    name="result">  </part> </message> <message   name="addNavigationLink">  <part    xmlns:partns="java:com.compy.tiby.model.tops"    type="partns:NavigationLink"    name="navigationLink">  </part> </message> <message   name="addNavigationLinkResponse">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:int"    name="result">  </part> </message> <message   name="gettopsXML"> </message> <message   name="gettopsXMLResponse">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:string"    name="result">  </part> </message> <message   name="getSearchXML">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:string"    name="string">  </part> </message> <message   name="getSearchXMLResponse">  <part    xmlns:partns="http://www.w3.org/2001/XMLSchema"    type="partns:string"    name="result">  </part> </message> <portType   name="topsServicesPort">  <operation    name="deleteNavigationGroup">   <input     message="tns:deleteNavigationGroup">   </input>   <output     message="tns:deleteNavigationGroupResponse">   </output>   <fault     name="topsServiceException"     message="tns:topsServiceException">   </fault>  </operation>  <operation    name="deleteNavigationLink">   <input     message="tns:deleteNavigationLink">   </input>   <output     message="tns:deleteNavigationLinkResponse">   </output>   <fault     name="topsServiceException"     message="tns:topsServiceException">   </fault>  </operation>  <operation    name="updateNavigationGroup">   <input     message="tns:updateNavigationGroup">   </input>   <output     message="tns:updateNavigationGroupResponse">   </output>   <fault     name="topsServiceException"     message="tns:topsServiceException">   </fault>  </operation>  <operation    name="updateNavigationLink">   <input     message="tns:updateNavigationLink">   </input>   <output     message="tns:updateNavigationLinkResponse">   </output>   <fault     name="topsServiceException"     message="tns:topsServiceException">   </fault>  </operation>  <operation    name="addNavigationGroup">   <input     message="tns:addNavigationGroup">   </input>   <output     message="tns:addNavigationGroupResponse">   </output>   <fault     name="topsServiceException"     message="tns:topsServiceException">   </fault>  </operation>  <operation    name="addNavigationLink">   <input     message="tns:addNavigationLink">   </input>   <output     message="tns:addNavigationLinkResponse">   </output>   <fault     name="topsServiceException"     message="tns:topsServiceException">   </fault>  </operation>  <operation    name="gettopsXML">   <input     message="tns:gettopsXML">   </input>   <output     message="tns:gettopsXMLResponse">   </output>   <fault     name="topsServiceException"     message="tns:topsServiceException">   </fault>  </operation>  <operation    name="getSearchXML">   <input     message="tns:getSearchXML">   </input>   <output     message="tns:getSearchXMLResponse">   </output>   <fault     name="topsServiceException"     message="tns:topsServiceException">   </fault>  </operation> </portType> <binding   type="tns:topsServicesPort"   name="topsServicesPort">  <soap:binding    style="rpc"    transport="http://schemas.xmlsoap.org/soap/http">  </soap:binding>  <operation    name="deleteNavigationGroup">   <soap:operation     style="rpc"     soapAction="">   </soap:operation>   <input>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </input>   <output>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </output>   <fault     name="topsServiceException">    <soap:fault      namespace="java:com.compy.tiby.services"      name="topsServiceException"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:fault>   </fault>  </operation>  <operation    name="deleteNavigationLink">   <soap:operation     style="rpc"     soapAction="">   </soap:operation>   <input>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </input>   <output>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </output>   <fault     name="topsServiceException">    <soap:fault      namespace="java:com.compy.tiby.services"      name="topsServiceException"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:fault>   </fault>  </operation>  <operation    name="updateNavigationGroup">   <soap:operation     style="rpc"     soapAction="">   </soap:operation>   <input>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </input>   <output>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </output>   <fault     name="topsServiceException">    <soap:fault      namespace="java:com.compy.tiby.services"      name="topsServiceException"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:fault>   </fault>  </operation>  <operation    name="updateNavigationLink">   <soap:operation     style="rpc"     soapAction="">   </soap:operation>   <input>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </input>   <output>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </output>   <fault     name="topsServiceException">    <soap:fault      namespace="java:com.compy.tiby.services"      name="topsServiceException"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:fault>   </fault>  </operation>  <operation    name="addNavigationGroup">   <soap:operation     style="rpc"     soapAction="">   </soap:operation>   <input>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </input>   <output>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </output>   <fault     name="topsServiceException">    <soap:fault      namespace="java:com.compy.tiby.services"      name="topsServiceException"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:fault>   </fault>  </operation>  <operation    name="addNavigationLink">   <soap:operation     style="rpc"     soapAction="">   </soap:operation>   <input>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </input>   <output>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </output>   <fault     name="topsServiceException">    <soap:fault      namespace="java:com.compy.tiby.services"      name="topsServiceException"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:fault>   </fault>  </operation>  <operation    name="gettopsXML">   <soap:operation     style="rpc"     soapAction="">   </soap:operation>   <input>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </input>   <output>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </output>   <fault     name="topsServiceException">    <soap:fault      namespace="java:com.compy.tiby.services"      name="topsServiceException"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:fault>   </fault>  </operation>  <operation    name="getSearchXML">   <soap:operation     style="rpc"     soapAction="">   </soap:operation>   <input>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </input>   <output>    <soap:body      namespace="java:com.compy.tiby.services"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:body>   </output>   <fault     name="topsServiceException">    <soap:fault      namespace="java:com.compy.tiby.services"      name="topsServiceException"      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"      use="encoded">    </soap:fault>   </fault>  </operation> </binding> <service   name="topsServices">  <port    name="topsServicesPort"    binding="tns:topsServicesPort">   <soap:address     location="http://biservicesdev.compy.com:80/tibyServices/topsServices">   </soap:address>  </port> </service></definitions>

Similar Messages

  • Problem when consuming web service on WIndows authentication applcation

    Hi,
    I am having a tough time in consuming web services on a
    Windows authentication IIS server.
    In one of my application I have created web services and
    consuming those web services from my another application.
    If I turned off the Windows authentication everything works
    fine, but If I turned on the Windows authentication web services
    stop working.
    Has anyone encountered such error while working with web
    services on Windows authentication server.
    Attach Code
    Could not perform web service invocation "funGetCustomer".
    Here is the fault returned when invoking the web service
    operation:
    AxisFault
    faultCode: {
    http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (401)Unauthorized
    faultActor:
    faultNode:
    faultDetail:
    {}:return code: 401
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
    http://www.w3.org/TR/html4/strict.dtd">
    <HTML><HEAD><TITLE>You are not authorized
    to view this page</TITLE>
    <META HTTP-EQUIV="Content-Type" Content="text/html;
    charset=Windows-1252">
    <STYLE type="text/css">
    BODY { font: 8pt/12pt verdana }
    H1 { font: 13pt/15pt verdana }
    H2 { font: 8pt/12pt verdana }
    A:link { color: red }
    A:visited { color: maroon }
    </STYLE>
    </HEAD><BODY><TABLE width=500 border=0
    cellspacing=10><TR><TD>
    <h1>You are not authorized to view this page</h1>
    You do not have permission to view this directory or page
    using the credentials that you supplied because your Web browser is
    sending a WWW-Authenticate header fi...

    You could try switching the HTTP transport provided in the
    Apache Axis embedded in ColdFusion to "CommonsHTTPSender".
    See this blog post:
    http://tjordahl.blogspot.com/2007/03/apache-axis-and-commons-httpclient.html

  • How to reference complex data type when consuming web services in WAS 620?

    In WAS 620, I tried to consume a web service in ABAP. I was successful when the web service returned one or more simple data type. But when the web service is changed to return a complex data type (eg. a structure with 3 elements), the call to the web service did not return anything.
    Do any of you know how to reference the individual element in the structure of an output parameter in a web service? I use the add_parameter method of the CSoapDocument class to identify the output parameters.
    Here is part of the WSDL file:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="urn:sap-com:document:sap:rfc:functions" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="urn:sap-com:document:sap:rfc:functions">
    - <types>
    - <xsd:schema targetNamespace="urn:sap-com:document:sap:rfc:functions">
    - <xsd:element name="Z_SRM_SOAP_TEST_COMPLEX">
    - <xsd:complexType>
    - <xsd:all>
    - <xsd:element name="INTEXT">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      </xsd:all>
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="Z_SRM_SOAP_TEST_COMPLEX.Response">
    - <xsd:complexType>
    - <xsd:all>
      <xsd:element name="OUTTEXT" type="s0:ZSRM_TEST_STRUCT" />
      </xsd:all>
      </xsd:complexType>
      </xsd:element>
    - <xsd:complexType name="ZSRM_TEST_STRUCT">
    - <xsd:sequence>
    - <xsd:element name="ELEMENT1" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ELEMENT2" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
    - <xsd:element name="ELEMENT3" minOccurs="0">
    - <xsd:simpleType>
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="50" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:element>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:schema>
      </types>

    Hi,
      [email protected] is my id and one more thing u by looking at the wsdl file u can know what al the parameters we have to give to the webservice so try it out also.
    Regards,
    Sirisha.

  • Basic http authentication not working when consuming Web Service in BPEL.

    Hi,
    I am consuming an AXIS Web Service from BPEL 10.1.3. The Web Service uses basic http
    authentication so we need a way to get username and password into the http
    header. In the Oracle BPEL Process Manager Administrator's Guide 10g
    (10.1.3.1.0) section 1.3.4.1 HTTP Basic Authentication (10.1.2.0.2) is stated
    that this can be done using the properties httpUsername and httpPassword. I
    have set the 2 for the partner link in bpel.xml but username and password does
    not get in to the http header. Has anybody got an idea?
    Regards Pete

    I'm having the same sorts of problems with 10.1.3.1.0. I've got a deployed BPEL suitcase that's trying to hit a BASIC AUTH-secured web service running on a WebLogic 8.1 server. I've set up my partner link according to the documentation, and the BPEL console Descriptor tab even shows the parameters correctly:
    partnerLinkBindings      
    client      
         wsdlLocation      awardService.wsdl
    spsAwardSubmitPartnerLink      
         basicHeaders      credentials
         basicUsername      ko1
         basicPassword      xxxxx
         wsdlLocation      IAwardDraftServiceRef1.wsdl
    However, when I funnel the resultant call to the endpoint specified in IAwardDraftServiceRef1.wsdl, none of the fields I would expect show up in the HTTP header:
    POST /pd2WebServices/service/IAwardDraftService HTTP/1.1
    Host: vm-orcl-app-srv:4444
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    SOAPAction: ""
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: text/xml; charset=UTF-8
    Content-length: 3800
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Body><IAwardDraftSubmitNew xmlns="http://www.caci.com/pd2/pub">
    <IAwardDraft>
    <accessController/>
    <agreementEndDate/>
    Is there some other configuration piece I'm missing?? I've tried the other variation using httpBasicHeaders, with the same results. I even noted that the "Oracle® BPEL Process Manager Administrator's Guide" says that "Starting with Oracle BPEL Process Manager release 10.1.3, all partner link properties are automatically propagated into the HTTP header." I've tried putting "extra" parms in the partner link bindings, but they don't show up either.
    What am I missing??
    Thanks,
    Mike

  • Wrong data when consuming web service via ABAP

    Dear all,
    we tried to consume a web service via ABAP and used one of the various existing how-to papers from the internet in order to develop everything.
    The development was not that difficult, but when we now execute our ABAP, we noticed that
    - the first 100 returned rows from the webservice are completely correct
    - then we receive 10-15 completely incorrect rows (empty fields, redundant lines, etc.)
    - the rest of the data (60 records) is correct again
    As we nearly all objects have been generated automatically via SE80, I do not really know where this problem might come from. We double checked the original data and there everything is correct.
    Any ideas?
    Thanks for your feedback,
    Andreas

    Marcelo  Almeida wrote:
    > You can use Logial port for it in LPCONFIG ( Transaction). See this examplo Below:
    >
    > TRY.
    >
    > CREATE OBJECT my_proxy
    > EXPORTING
    > logical_port_name = 'LP01'.
    > CATCH cx_ai_system_fault.
    > ENDTRY.
    >
    > TRY.
    > input-airline_id = p_carrid.
    > input-connection_id = p_connid.
    > input-flight_date = p_fldate.
    >
    > CALL METHOD my_proxy->flight_get_detail
    > EXPORTING
    > input = input
    > IMPORTING
    > output = output.
    > CATCH cx_ai_system_fault.
    > CATCH cx_ai_application_fault.
    > ENTRY.
    >
    > Its necessary create a connection in SM59 (type H) and setting in the call parameters logical port (LPCONFIG).
    Hi,
    thanks for your answer. It´s working!
    Cheers,
    Andy

  • Get error (There is an error in XML document (3, 4)) when consuming web service HelpDesk_QueryList_Service with New-WebServiceProxy

    Dear all,
    I'm using the powershell cmdlt New-WebServiceProxy to query ITSM incidents. I'm able to get the WSDL definition ..
    $uri='http://pitsm/arsys/WSDL/public/pitsmapp/HPD_IncidentInterface_WS'
    $myitsm=New-WebServiceProxy -Uri $uri -Namespace ITSM -Verbose true
    $auth= New-Object ITSM.AuthenticationInfo
    $cred=get-credential
    $auth.username=$cred.username
    $auth.password= [System.Runtime.InteropServices.marshal]::PtrToStringAuto([System.Runtime.InteropServices.marshal]::SecureStringToBSTR($cred.password))
    $auth.authentication="Domain Authentication"
    $myitsm.AuthenticationInfoValue=$auth
    $myitsm.RequestEncoding =  [System.Text.Encoding]::UTF8
    $tid="INC000002237910"
    $criteria="'Incident Number' = ""$tid"""
    When i'm consuming now the web service i get back an error messages:
    $answer=$myitsm.HelpDesk_QueryList_Service($criteria,0,100)
    Exception calling "HelpDesk_QueryList_Service" with "3" argument(s): "There is an error in XML document (3, 4)."
    At line:1 char:1
    + $answer=$myitsm.HelpDesk_QueryList_Service($criteria,0,100)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : InvalidOperationException
    Has anybody an idea what could be wrong?
    Any idea how to debug the commandlet New-WebServiceProxy?
    Best Regards
    Chris

    Hello Christian,
     i  know this reply is really late ;) I am actually the author of the blog post mentioned by @AnnaWY, the post she mentioned is in regards of a situation 'where everything' is how it should be. Basically, (i think) sometime administrator, or the
    person who implements ITSM webservices makes an error, hence this script will not run. You will end up with that issue mentioned, in order to fix it, either you should contact the person who is responsible for that service, OR rewrite the wsdl for it yourself.
    It might be a bit problematic, but, it is for sure doable, as in my latest blog post about this issue. 
    I am writing it here, because i also saw this page, while googling for explanation, i guess there are more people who are looking for this so here is the link to the explanation:
    http://wp.me/pAXaY-ht
    I hope that helps !
    Regards,
    Greg

  • Error when consuming Web Service in SAP R/3 ECC 6.0

    Hi to everyone.
    I have created an asynchronous Web Service in SAP R3, which I want to use in SAP PI later.
    When I test the Web Service using WS Navigator or XMLSpy the following error occurs:
    SOAP Runtime Protocol: ABAP Runtime exception: 1F09B73915F6B645E10000000A11447B occurred in program CL_SOAP_APPLICATION_PROXY=====CP CP in include CL_SOAP APPLICATIONPROXY=====CM008 at position 110
    SOAP Runtime Protocol: Exception message: An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause
    I tested another synchronous Web Service developed by me in the same system, and the error does not occurs.
    I just searched an OSS Note and does not find anything.
    There are some restrictions in Web Service type developed in SAP R/3?
    Thanks in advance.
    Rafael Rojas.

    Hi.
    I think I must clarify my question.
    The Web Service is not called inside SAP R/3 but externally. For testing pourpose I actually use WS Navigator and XMLSpy.
    The method inside ABAP Server Proxy which is exposed as a Web Server in SAP R/3 system is the following. Note that the Web Service is Asynchronous.
    METHOD zpi_ii_test_ws_4_in~test_ws_4_in.
      DATA: lwa_zpi_test TYPE zpi_test.
      lwa_zpi_test-mandt = input-mt_test-record-client.
      lwa_zpi_test-bukrs = input-mt_test-record-company.
      lwa_zpi_test-belnr = input-mt_test-record-document.
      lwa_zpi_test-gjahr = input-mt_test-record-year.
      INSERT zpi_test FROM lwa_zpi_test.
      COMMIT WORK.
    ENDMETHOD.
    I have created another Web Service in SAP R/3 which is Synchronous, and the error does not occurs. The following is the method inside ABAP Server Proxy which is exposed as a Web Service in SAP R/3 system.
    METHOD zpi_ii_test_ws_3_in~test_ws_3_in.
      DATA: l_bukrs      TYPE bukrs,
            l_belnr      TYPE belnr_d,
            l_gjahr      TYPE gjahr,
            lr_belnr     TYPE RANGE OF belnr_d,
            lwa_zpi_test TYPE zpi_test.
      l_bukrs = input-mt_req-msg+0(4).
      l_gjahr = input-mt_req-msg+4(4).
      SELECT MAX( belnr ) INTO l_belnr
        FROM zpi_test
        WHERE bukrs EQ l_bukrs
          AND belnr IN lr_belnr
          AND gjahr EQ l_gjahr.
      IF l_belnr IS INITIAL.
        l_belnr = '4700000000'.
      ELSE.
        l_belnr = l_belnr + 1.
      ENDIF.
      lwa_zpi_test-mandt = sy-mandt.
      lwa_zpi_test-bukrs = l_bukrs.
      lwa_zpi_test-belnr = l_belnr.
      lwa_zpi_test-gjahr = l_gjahr.
      INSERT zpi_test FROM lwa_zpi_test.
      COMMIT WORK.
      output-mt_resp-msg = l_belnr.
    ENDMETHOD.
    I hope to have clarified my question.
    Rafael Rojas.

  • "end-of-body reached" Error when consuming web service from 10GR1

    Hi all,
    Im consuming a number of web services, all of which work fine apart from one which returns the error:
    29266. 00000 - "end-of-body reached"
    *Cause:    The end of the HTTP response body was reached.
    *Action:   If the end of the HTTP response is reached prematurely, check if
    the HTTP response terminates prematurely. Otherwise, end the
    HTTP response.
    I don't understand why this is happening and would really appreciate some help. I have checked the invoke procedure and there is a ' utl_http.end_response(http_resp);' call which online searching suggests can be a cause of the problem (if not used). The procedure which calls the service is:
    function Events_Insert(id varchar2, pwd varchar2) return clob as
    req opf_portal.pkg_call_web_services.request;
    resp opf_portal.pkg_call_web_services.response;
    aEventRecord varchar2(4000);
    begin
    req := opf_portal.pkg_call_web_services.new_request('Events_Insert', 'xmlns="<removed>');
    aEventRecord:='<Options>
    <EventOptionRecord>
    <Comments>None</Comments>
    <Quantity>1</Quantity>
    <OptionID>53</OptionID>
    </EventOptionRecord>
    <EventOptionRecord>
    <Comments>None</Comments>
    <Quantity>1</Quantity>
    <OptionID>53</OptionID>
    </EventOptionRecord>
    </Options>
    <Badges>
    <EventBadgeRecord>
    <Company>Oracle</Company>
    <JobTitle>Consultant</JobTitle>
    <Name>GregCox</Name>
    <EventBadgeRecord>
    </Badges>
    <SpecialRequirements>
    <EventSpecialRequirementRecord>
    <Notes>bob</Notes>
    <Pvkey>110606</Pvkey>
    <RequirementCode>VEG</RequirementCode>
    </EventSpecialRequirementRecord>
    </SpecialRequirements>
    <Pvkey>110606</Pvkey>
    <DelegateType>DELEGATE</DelegateType>
    <EventID>524938</EventID>';
    opf_portal.pkg_call_web_services.add_parameter(req, 'userid', 'xsd:string', id);
    opf_portal.pkg_call_web_services.add_parameter(req, 'password', 'xsd:string', pwd);
    opf_portal.pkg_call_web_services.add_parameter(req, 'aEventRecord', 'xsd:complexType', aEventRecord);
    resp := opf_portal.pkg_call_web_services.invoke(req, '<removed>', '<removed>');
    return resp.doc.getstringval();
    end;

    Incase anybody else encounters this problem, it was my XML that was invalid:
    <EventBadgeRecord>
    <Company>Oracle</Company>
    <JobTitle>Consultant</JobTitle>
    <Name>GregCox</Name>
    <EventBadgeRecord>
    was missing '/' in closing tag

  • Invalid characters when consuming web service

    Morning all,
    I am using Apache Axis 1.3 (yes, slightly old version) to consume a Microsoft SharePoint web service. The problem I am finding is that the returned XML contains an invalid XML character which is causing Axis to throw an exception. I have no control over the SharePoint web service so I am wondering if it is possible to somehow obtain the XML returned from SharePoint so that I can pre-process it, removing all the bad characters, before then letting Axis process as normal. Or perhaps there is a more elegant solution?
    This snippet of code shows how I am currently calling the web service :
    String endpoint = listSite.endsWith("/") ? listSite + "_vti_bin/Lists.asmx" : listSite + "/_vti_bin/Lists.asmx";
    org.apache.axis.client.Service service = new org.apache.axis.client.Service();
    org.apache.axis.client.Call call = (org.apache.axis.client.Call) service.createCall();
    call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true));
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, "http://schemas.microsoft.com/sharepoint/soap/GetListItems");
    call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
    call.setOperationName(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "GetListItems"));
    call.setTargetEndpointAddress(new java.net.URL(endpoint));
    call.addParameter(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "listName"),
         new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"),
         java.lang.String.class,
         javax.xml.rpc.ParameterMode.IN);
    call.addParameter(new javax.xml.namespace.QName("http://schemas.microsoft.com/sharepoint/soap/", "rowLimit"),
         new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"),
         javax.xml.rpc.ParameterMode.IN);
    call.setUsername(domain + "\\" + user);
    call.setPassword(password);
    call.setReturnType(org.apache.axis.Constants.XSD_SCHEMA);
    Schema schema = (Schema) call.invoke(new Object[]{ listGUID, "100" });The error occurs after the call to the invoke method :
    org.xml.sax.SAXParseException: Character reference "&#11" is an invalid XML characterMany Thanks,
    Ben.

    You're not going to like this but... get the producer (SharePoint) fixed.
    Because if you get invalid XML then yes you'd have to pre-process it, which basically will entail you throwing out Axis and doing it all yourself. Which seems brutal.
    Bottom line is that a webservice producing invalid XML is not in fact a webservice.

  • Windows authentification while consuming web service from ABAP

    Hi All,
    We are consuming web service from ABAP, we have created client proxy in SE80 and configured logical port in LPCONFIG.
    This one was working fine. Now we have added  windows user authentification to access this service.
    Now when I'm trying to regenerate this proxy in R/3 it is asking for user and password. When I enter these details this one is not working.
    If I access this service direcly from internet explorer and I enter same user and password then I would able to access this service.
    Could you please let me know how to handle this.
    Regards
    Vikram

    The dialog that is produced by HTTP Destination object of the logical port is designed only for use within Classic Dynpro applications.  There is no prompt produced when running in Web Dynpro.  If possible assign a generic user within the logical port definition and this will be used automatically by all users.

  • Consuming Web Services with ABAP - WSDL

    Hi All,
    I Want to consume web service in abap, i found lot of documents,Here i am having data in the internal table i need to pass
    it to wsdl file, The Web Service or Proxy generates a WSDL file. So this WSDL file can be consumed on ABAP Front and Encrypt the Data that is to be sent to the Banks.
    I found the input and output, Where i can find the method generated or we need to create it
    CALL METHOD io_clientproxy->XXXXXXXXXXXX
    please let me have your valuable ideas
    Thanks in advance,
    Arun.

    Hi Miguel,
    I have not heared about SPROXY, Here i found some code,which calls a web service method and where it is from.
    when i double click on my proxy it shows me some method.IF_PROXY_BASIS_INTERNAL~CREATE_FRAMEWORK
    this is the one web service method. and i meed to pass the internal table data to WSDL file.
    *-- create web service proxy class instance
    TRY.
        CREATE OBJECT io_clientproxy
          EXPORTING
            logical_port_name = 'LP4'.
      CATCH cx_ai_system_fault.
    ENDTRY.
    *-- call web service methods
    TRY.
        CALL METHOD io_clientproxy->get_airport_information_by_is
          EXPORTING
            input  = input
          IMPORTING
            output = output.
      CATCH cx_ai_system_fault.
      CATCH cx_ai_application_fault.
    ENDTRY.
    *-- text processing
    output_string = output-get_airport_information_by_is.
    REPLACE ALL OCCURRENCES OF
        '<' IN output_string WITH '<' .
    REPLACE ALL OCCURRENCES OF
    '>' IN output_string WITH '>' .
    REPLACE ALL OCCURRENCES OF
    'xmlns=' IN output_string WITH 'xmlns:xsl=' .
    *-- parsing
    TRY .
        CALL TRANSFORMATION ('Y_AIRPORT_XML2ABAP')
                SOURCE XML output_string
                RESULT     outtab = outtab.
      CATCH cx_xslt_exception INTO xslt_err.
        DATA: s TYPE string.
        s = xslt_err->get_text( ).
        WRITE: ': ', s.
        STOP.
    ENDTRY .
    Regards,
    Arun.

  • Errors when processing web service call

    Hello Experts,
    Based on a requirement, I got a URL based on WSDL, using which I created a Consumer Proxy in SAP.
    I created a Logical Port in SOA Manager with type selected as 'WSDL'.
    When I'm trying to execute the proxy class to call the webservice using the logical port through SE80  it is throwing an error log as stated below.
    1) SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    2)Error when processing Web service call
    3)Error when calling SOAP Runtime functions: Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    Kindly help me out.
    Thanks,
    Vamshi

    Hi,
    Check Anton's reply in this thread: External WS Consumption Issue
    Also refer the below doc which may help you: Consume an External Web Service in a Nutshell with Good Old ABAP
    Calling WebServices from ABAP via HTTPS
    Regards,
    Kiran

  • Biztalk 2010 - Consume Web Service with Certificate

    Hi
    I have to consume a java web service with Biztalk that requires authentication via a client certificate. Until now I have not been able to consume any web service where any kind of authentication was needed. Simple web services without authentication are
    no problem. Also using SoapUI works perfectly fine.
    I am generating the XSDs and the port binding with the WCF wizard in VS2010. I've read several comments that it's not possible to consume web services with the WCF-WSHttp adapter when the message format should be SOAP 1.1. Therefore I'm trying with the WCF-BasicHttp
    and WCF-Custom adapters, but I did not suceed in receiving a positive response yet.
    The web service I want to consume uses a client certificate (with a private key) and two root certificates. When I use the BasicHttp adapter I choose either 'Transport' or 'TransportWithMessageCredential' but none of them work. I also have to supply a client
    and a service certificate. I always use the one with the private key for the client but I'm not sure which one I have to use for the service. Is there a possibility that I have to provide both root certificates and if so, how can I achieve this?
    Hope the question makes sense somehow... thanks for any input.
    Error message that I receive currently is that the server needs a client certificate. However I attached it in the send port properties under the tab "Security" => mode "TransportWithMessageCredential".

    Adapter: WCF-Custom
    Binding: customBinding
    Cannot send pictures (yet).
    <configuration>
    <enterpriseLibrary.ConfigurationSource selectedSource="ESB File Configuration Source" />
    <system.serviceModel>
    <client>
    <endpoint address="...." behaviorConfiguration="EndpointBehavior" binding="customBinding" bindingConfiguration="ReceiptBinding" contract="BizTalk" name="WebServicePort" />
    </client>
    <behaviors>
    <endpointBehaviors>
    <behavior name="EndpointBehavior">
    <clientCredentials>
    <clientCertificate findValue="..." x509FindType="FindByThumbprint" />
    <serviceCertificate>
    <defaultCertificate findValue="..." storeLocation="LocalMachine" storeName="AuthRoot" x509FindType="FindByThumbprint" />
    </serviceCertificate>
    </clientCredentials>
    </behavior>
    </endpointBehaviors>
    <serviceBehaviors>
    <behavior name="ServiceBehavior" />
    </serviceBehaviors>
    </behaviors>
    <bindings>
    <customBinding>
    <clear />
    <binding name="ReceiptBinding">
    <textMessageEncoding messageVersion="Soap11" />
    <security authenticationMode="MutualCertificate" />
    <httpsTransport proxyAuthenticationScheme="Basic" requireClientCertificate="true" />
    </binding>
    </customBinding>
    </bindings>
    </system.serviceModel>
    </configuration>

  • Consuming Web Services in 11.2 does not work (UTL_DBWS)

    Hello
    i read some documents for consuming web services on the internet , but i get an error when i call add_numbers function as follows:
    i connected on WSUSER , then
    SQL> select add_numbers(1,3) from dual;
    The Error message is:
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: java.lang.ExceptionInInitializerError
    ORA-06512: at "WSUSER.UTL_DBWS", line 193
    ORA-06512: at "WSUSER.UTL_DBWS", line 190
    ORA-06512: at "WSUSER.ADD_NUMBERS", line 25"
    I use the following steps to setup the UTL_DBWS :
    1-     Create new user 'WSUSER'
    2-     Run the UTL_DBWS scripts ( utl_dbws_decl.sql , utl_dbws_body.sql) on WSUSER.
    3-     Execute this command
    loadjava -u scott/tiger -r -v -f -genmissing dbwsclientws.jar dbwsclientdb11.jar
    4-     Log in as sys and grant these privileges to our new user:
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','http.proxySet','write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','http.proxyHost', 'write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','http.proxyPort', 'write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar','');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission','getClassLoader','');
    execute dbms_java.grant_permission('WSUSER','SYS:java.net.SocketPermission','*','connect,resolve');
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','*','read,write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission','setFactory','');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission', 'createClassLoader', '' )
    5-     Create add_numbers function on wsuser to test utl_dbws:
    CREATE OR REPLACE FUNCTION add_numbers (p_int_1 IN NUMBER,
    p_int_2 IN NUMBER)
    RETURN NUMBER
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_wsdl_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_service_qname UTL_DBWS.qname;
    l_port_qname UTL_DBWS.qname;
    l_operation_qname UTL_DBWS.qname;
    l_xmltype_in SYS.XMLTYPE;
    l_xmltype_out SYS.XMLTYPE;
    l_return NUMBER;
    BEGIN
    l_wsdl_url := 'http://www.oracle-base.com/webservices/server.php?wsdl';
    l_namespace := 'http://www.oracle-base.com/webservices/';
    l_service_qname := UTL_DBWS.to_qname(l_namespace, 'Calculator');
    l_port_qname := UTL_DBWS.to_qname(l_namespace, 'CalculatorPort');
    l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'ws_add');
    l_service := UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
    service_name => l_service_qname);
    l_call := UTL_DBWS.create_call (
    service_handle => l_service,
    port_name => l_port_qname,
    operation_name => l_operation_qname);
    l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    <ws_add xmlns="' || l_namespace || '">
    <int1>' || p_int_1 || '</int1>
    <int2>' || p_int_2 || '</int2>
    </ws_add>');
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    l_return := l_xmltype_out.extract('//return/text()').getNumberVal();
    RETURN l_return;
    END;
    6-     Test the function
    Select add_numbers(1,2) from dual
    on the test i get the error message :
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: java.lang.ExceptionInInitializerError
    ORA-06512: at "WSUSER.UTL_DBWS", line 193
    ORA-06512: at "WSUSER.UTL_DBWS", line 190
    ORA-06512: at "WSUSER.ADD_NUMBERS", line 25
    anyone have an idea to resolve this error .
    thanks alot

    Hi.
    Looking at the code, it seems it is my article you are asking about.
    http://www.oracle-base.com/articles/10g/utl_dbws10g.php
    I've just run through it on an 11.2 instance and it works fine for me.
    Make sure your server has access to the Internet and make sure the java classes are loaded successfully.
    Cheers
    Tim...

  • How to consume WEB SERVICES from ABAP ??

    Q: How to consume WEB SERVICES from ABAP program??
         the point here is i am using SAP release 620 and the creation of proxy is out of scenario
         and also no XI.    Its only through ABAP program i need to consume one web service (its a HTTPS one ),
        Using cl_http_client... i tried it but i am totally confused of whats happening ???
    Req some senior ppl advice on the same/approach.
    any hints will suffice my way of approach...!!!
    Please do put in your valuable advices..!!
    Thanks in advance..!!!!

    Hello Srinivas,
    Following is the code for calling web service:
    data: client type ref to if_http_client,
          host   type string value 'server url',
          service type string value '8080',
          path type string value '/sap/public/ping',
          errortext type string,
          proxy_service type string,
          scheme type i value 1.
    call method cl_http_client=>create
    exporting host  = host
            service  = service
         proxy_host  = host
       proxy_service = service
       scheme        = scheme
    importing client  = client
    exceptions
        argument_not_found = 1
        internal_error     = 2
        plugin_not_active  = 3
        others             = 4.
    case sy-subrc.
      when 0.
         write 'Server reached successfully'.
      when others.
         write: 'sy-subrc =', sy-subrc.
    endcase.
    Once you got the client object you can call following methods:
    "Set the requrie URL for the web service you want to call. This is not WSDL anyway!!
    cl_http_utility=>set_request_uri( request = client->request
    uri =' url 2 be called ').
    *Then you can call send method with proper inputs for sending request to WS
    CALL METHOD client->send
    Then you can use receive method for getting the response
    CALL METHOD client->receive
    *You can get last error in case of exceptions
    CALL METHOD cl_http_client=>get_last_error
    *Close the client object
    CALL METHOD client->close
    For more information on full code refer my link in previous replay.
    Thanks,
    Augustin.
    Edited by: Augustarian on Aug 18, 2009 1:49 PM

Maybe you are looking for

  • Not allowing to change the plants in me51n transaction

    hi all, my requirement is to not allow the user to use different plants at item level(10,20 etc) . for that i have used the user exit MEREQ001 in the function module EXIT_SAPLMEREQ_010 i have written following code DATA : WA_EBAN LIKE EBAN,        WA

  • Random lock ups on my 17" 1.33....please help!

    Well ive had my powerbook 17" for probably about 6 months and every so often it just decides to lock up forcing me to hold down the power button to reset it. Im not doing any heavy task i could be doing anything really, browsing a webpage or just cha

  • (Urgent)Flow Animation in different directions. Help pls, its Urgent!

    Hi all, I am attaching a vi and one image describing the problem. What I need to do is show the flow by "filling" effect in the pipes, without using many variables,controls or indicators as my client wont accept any delay which is caused only due to

  • The Stop button does not show except when I'm customizing settings

    I have just upgraded from FF 3.6 to FF 8. The Stop button (X) does not appear between the Reload and Home buttons. However, if I right click the menu bar and select Customize... , the X appears as it should, then disappears again when I close the Cus

  • Everything is fine except MSN Messenger and Torrentapps

    I really don't know what has happened, but since two or three days I can't login to MSN Messenger, nor do any filetransfer work in any Torrent-application. What is wrong? I have tried to shut the firewall on and off, without any result. I assume I ha