Invoke Web Services - Send empty SOAP package

We have a SOAP interface that we have consumed through a service layer for 5+ years.
There are many functions available from this endpoint.
Example, one is called Ping and requires no additional parameters. We can send this via Orchestrator with no issues and we get a response.
However all other functions have param requirements such as a set name or authentication data.
Orchestrator has no issue pulling the Format Hint. Ive attached wireshark and fiddler and all calls get sent by Orchestrator with empty packages, all parms get stripped.
We can use SOAP runner and have no issues sending these commands.
Thoughts?
Designer: 7.2.84.0
Orchestrator Management Servers:
 NAME: 7.2.84.0
Libraries:
 Compression-6-4109999.op4caw: 7.2.84.0
 Compression-6-4109999.op4saw: 7.2.84.0
 Database-14-40801.op4caw: 7.2.84.0
 Database-14-40801.Op4saw: 7.2.84.0
 DataMapper-689-5000001.op4caw: 7.2.84.0
 DataMapper-689-5000001.op4saw: 7.2.84.0
 DateTime-1-5000001.op4saw: 7.2.84.0
 Email-2-40803.op4saw: 7.2.84.0
 Email-2-4109999.op4caw: 7.2.84.0
 Encryption-628-5000001.op4caw: 7.2.84.0
 Encryption-628-5000001.op4saw: 7.2.84.0
 EncryptionDomainLibResources.dll: 7.2.84.0
 FileAndFolderFOCommon.dll: 7.2.84.0
 FileList-38-40801.op4cbw: 7.2.84.0
 FileManagement-4-40802.op4caw: 7.2.84.0
 FileManagement-4-40802.op4saw: 7.2.84.0
 FileManagementClientExtension.dll: 7.2.84.0
 FileManagementDomain.dll: 7.2.84.0
 FileManagementResource.dll: 7.2.84.0
 FileManagementServerExtension.dll: 7.2.84.0
 FileMonitorClientExtension.dll: 7.2.84.0
 FileMonitorDomain.dll: 7.2.84.0
 FileMonitorServerExtension.dll: 7.2.84.0
 FolderMonitorClientExtension.dll: 7.2.84.0
 FolderMonitorDomain.dll: 7.2.84.0
 FolderMonitorServerExtension.dll: 7.2.84.0
 FormatDateTimeClientExtension.dll: 7.2.84.0
 FormatDateTimeDomainLibResources.dll: 7.2.84.0
 FormatDateTimeServerExtension.dll: 7.2.84.0
 Internet-13-40801.op4caw: 7.2.84.0
 Internet-13-4109999.op4saw: 7.2.84.0
 jf.SCOrch.Integration.DataManipulation.DataManipulationImages.dll: 1.0.0.0
 jf.SCOrch.Integration.SharePoint.ActivityImages.dll: 1.0.0.0
 Kelverion.IntegrationPack.RunbookManagement.Images.dll: 1.0.0.1
 Kelverion.IntegrationPack.SqlServer.Images.dll: 2.0.0.0
 ManageTextFileClientExtension.dll: 7.2.84.0
 ManageTextFileDomain.dll: 7.2.84.0
 ManageTextFileServerExtension.dll: 7.2.84.0
 Microsoft.EnterpriseManagement.Core.dll: 7.5.3046.0
 Microsoft.SystemCenter.Orchestrator.ActiveDirectoryIP.Images.dll: 7.2.43.0
 Microsoft.SystemCenter.Orchestrator.Integration.SCCM2012.ClientExtension.dll: 7.2.56.0
 Microsoft.SystemCenter.Orchestrator.Integration.SCCM2012.Domain.dll: 7.2.56.0
 Microsoft.SystemCenter.Orchestrator.Integration.SCCM2012.ServerExtension.dll: 7.2.56.0
 Microsoft.SystemCenter.Orchestrator.Integration.SCOM2012.ClientExtension.dll: 7.2.56.0
 Microsoft.SystemCenter.Orchestrator.Integration.SCOM2012.Domain.dll: 7.2.56.0
 Microsoft.SystemCenter.Orchestrator.Integration.SCOM2012.ServerExtension.dll: 7.2.56.0
 Microsoft.SystemCenter.Orchestrator.Integration.SCSM2012.ClientExtension.dll: 7.2.56.0
 Microsoft.SystemCenter.Orchestrator.Integration.SCSM2012.Domain.dll: 7.2.56.0
 Microsoft.SystemCenter.Orchestrator.Integration.SCSM2012.ServerExtension.dll: 7.2.56.0
 Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.IP.ClientExtension.2.dll: 7.2.7.0
 Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.IP.ClientExtension.dll: 7.0.359.0
 Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.IP.ServerExtension.2.dll: 7.2.7.0
 Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.IP.ServerExtension.dll: 7.0.359.0
 Microsoft.SystemCenter.Orchestrator.Integration.Toolkit.Wizard.Images.dll: 7.2.7.0
 MpCore4LibResources.dll: 7.2.84.0
 MpCoreLibResources.dll: 7.2.84.0
 NetBrowser-40-40801.op4cbw: 7.2.84.0
 NetUseObjectsClientExtension.dll: 7.2.84.0
 NetUseObjectsServerExtension.dll: 7.2.84.0
 Network-24-407.op4caw: 7.2.84.0
 Network-24-40801.op4saw: 7.2.84.0
 ObjectResources.dll: 7.2.84.0
 OpCoreLibResources.dll: 7.2.84.0
 OpToolsLibResources.dll: 7.2.84.0
 ProcessBrowser-69-40801.op4cbw: 7.2.84.0
 PS_Tools.dll: 1.0.0.19
 QueryXmlClientExtension.dll: 7.2.84.0
 QueryXmlServerExtension.dll: 7.2.84.0
 RandomStringClientExtension.dll: 7.2.84.0
 RandomStringDomainLibResources.dll: 7.2.84.0
 RandomStringServerExtension.dll: 7.2.84.0
 RASPhoneBook-56-40801.op4sbw: 7.2.84.0
 RASPhoneBrowser-56-40801.op4cbw: 7.2.84.0
 RunScriptClientExtension.dll: 7.2.84.0
 RunScriptDomain.dll: 7.2.84.0
 RunScriptServerExtension.dll: 7.2.84.0
 Schedule-1-40801.op4caw: 7.2.84.0
 SnmpClient-119-4109999.op4caw: 7.2.84.0
 SNMPClientExtension.dll: 7.2.84.0
 SnmpDomainLibResources.dll: 7.2.84.0
 SnmpService-119-4109999.op4saw: 7.2.84.0
 SSHClient-117-4109999.op4caw: 7.2.84.0
 SSHService-117-4109999.op4saw: 7.2.84.0
 StandardObjects.dll: 7.2.84.0
 SystemCenter.IntegrationPack.ExchangeAdmin.Images.dll: 7.2.51.0
 SystemCenter.IntegrationPack.ExchangeUser.Images.dll: 7.2.49.0
 SystemCenter.IntegrationPack.Ftp.Images.dll: 7.2.47.0
 SystemCenter.IntegrationPack.SharePoint.Images.dll: 7.2.52.0
 SystemUtilities-16-40801.op4caw: 7.2.84.0
 SystemUtilities-16-40802.op4saw: 7.2.84.0
 TextFile-15-40801.op4caw: 7.2.84.0
 TextFile-15-40801.op4saw: 7.2.84.0
 WebServiceChannelLibResources.dll: 7.2.84.0
 WebServicesBase.dll: 7.2.84.0
 WebServicesClientExtension.dll: 7.2.84.0
 WebServicesProxy.dll: 7.2.84.0
 WebServicesServerExtension.dll: 7.2.84.0
 WindowsUtilities-21-40801.op4caw: 7.2.84.0
 WindowsUtilities-21-40801.op4saw: 7.2.84.0
 Wmi-8-40802.op4caw: 7.2.84.0
 Wmi-8-40809.op4saw: 7.2.84.0
 XsltTransformClientExtension.dll: 7.2.84.0
 XsltTransformServerExtension.dll: 7.2.84.0
Moved On

I've noticed the same behaviour.
When I call a webservice using the "Invoke Web Services"-activity using only the elements of the xml e.g. <object>somevalue</object> the xml that gets sent is complete and consumed by the webservice.
However when I call another method that requires attributes (e.g. <object name="something">somevalue</object>) the attributes (name="something") gets stripped from the xml causing the webservice to bounce my call as certain
(mandatory) parameters are missing.
I've confirmed this through Wireshark.
I'm possitive my XML payload is correct as this works through both SOAPUI and Powershell.
(not intending to hijack the question, mainly confirming the behaviour and providing and additional use case)

Similar Messages

  • Invoking Web Service From PL SQL package

    Below is the sample code to invoke web service from pl/sql package using UTL_HTTP:
    Declare
    http_req UTL_HTTP.req;
    http_resp UTL_HTTP.resp;
    Begin
    http_req :=
    UTL_HTTP.begin_request
    'http://'
    || lv_hosturl
    -- || '.net/soa-infra/services/finance_rt/Payments/paymentsprocess_client_ep',
    --new url
    || '.net/soa-infra/services/finance_rt/PaymentsReq/paymentsprocess_client_ep?WSDL',
    'POST',
    'HTTP/1.1'
    UTL_HTTP.set_header (http_req, 'Content-Type', 'text/xml');
    -- since we are dealing with plain text in XML documents
    UTL_HTTP.set_header (http_req,
    'Content-Length',
    LENGTH (lv_soap_request)
    UTL_HTTP.set_header (http_req, 'SOAPAction', '');
    -- required to specify this is a SOAP communication
    UTL_HTTP.write_text (http_req, lv_soap_request);
    http_resp := UTL_HTTP.get_response (http_req);
    UTL_HTTP.read_text (http_resp, lv_soap_respond);
    UTL_HTTP.end_response (http_resp);
    resp := XMLTYPE.createxml (lv_soap_respond);
    End;

    Hi,
    there are a lot of option to make plsql web services .
    First you can stay with jdev 10.1.3
    Use the xmldb servlets
    use jdev 11g tp4 to create plsql ws and upgrade to jdev 11g production
    And I think in the next release of jdev it will be back , there are more options which disappeared like the adf bc sdo ws or jmx datacontrol etc.
    thanks Edwin

  • Invoking web service with customized SOAP Header

    Hi,
    how can I invoke web services from my BPEL process with additional elements in the SOAP Header?
    Regards,
    Piotr

    I don't know if I completely understand your question, but here is an attempt at and answer.
    It place variables in the SOAP Header open the invoke popup, click on the Adapters tab and select the variable that you would like to add into the SOAP header.
    I really hope that helps.
    Chris

  • Send a map of documents via Invoke Web Service

    Hi,
        I have one process with map of documents and 2nd process on other server, where input variable is map od documents too. How can I send this map between these processes via "Invoke Web Service" component? Simple datatypes I can.
    Petr

    Take a look at Quick Start: Assembling a PDF document using the web service API
    It shows how to create an input map for multiple documents.
    But it sounds like you're asking how to create a WSDL that allows you to use an input map as an argument in a Web Service invocation. If so, take a look at the Assembler services WSDL. For 8.2, access
    http://myServer:myPort/soap/services/AssemblerService?wsdl

  • "Error while parsing SOAP XML payload: no element found" received when invoking Web Service

    Running PB 12.1 Build 7000.  Using Easysoap.  Error ""Error while parsing SOAP XML payload: no element found" received when invoking Web Service".  This error does not appear to be coming from the application code.  Noticed that there were some erroneous characters showing up within the header portion of the XML ("&Quot;").  Not sure where these are coming from.  When I do a find within the PB code for ""&quot;" it gets located within two objects, whereas they both reference a "temp_xml_letter".  Not sure where or what temp_xml_letter resides???   The developer of this is no longer with us and my exposure to WSDL and Web Services is rather limited.  Need to get this resolved...please.
    This is the result of the search.  Notice the extraneous characters ("&quot;"):
    dar1main.pbl(d_as400_mq_xml)
    darlettr.pbl(d_email_xml)
    ---------- Search: Searching Target darwin for 'temp_xml'    (9:52:41 AM)
    ---------- 2 Matches Found On "temp_xml":
    dar1main.pbl(d_as400_mq_xml).d_as400_mq_xml:  export.xml(usetemplate="temp_xml_letter" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0  template=(comment="" encoding="UTF-8" name="temp_xml_letter" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"yes~"?><EmailServiceTransaction xmlns=~"http://xml.xxnamespace.com/Utility/Email/EmailService" ~" xmlns:imc=~"http://xml.xxnamespace.com/IMC~" xmlns:xsi=~"http://www.w3.org/2001/XMLSchema-instance~" xmlns:root=~"http://xml.xxnamespace.com/RootTypes~" xmlns:email=~"http://xml.xxnamespace.com/Utility/Email~" xsi:schemaLocation=~"http://xml.xxnamespace.com/Utility/Email/EmailService http://dev.xxnamespace.com/Utility/Email/EmailService/V10-TRX-EmailService.xsd~"><EmailServiceInformation><EmailServiceDetail __pbband=~"detail~"><ApplicationIdentifier> applicationidentifier </ApplicationIdentifier><AddresseeInformation><AddresseeDetail><Number> number </Number></AddresseeDetail></AddresseeInformation><EmailMessageInformation><Ema
    darlettr.pbl(d_email_xml).d_email_xml:  export.xml(usetemplate="temp_xml_letter" headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0  template=(comment="" encoding="UTF-8" name="temp_xml_letter" xml="<?xml version=~"1.0~" encoding=~"UTF-16LE~" standalone=~"yes~"?><EmailServiceTransaction xmlns=~"http://xml.xxnamespace.com/Utility/Email/EmailService" ~" xmlns:imc=~"http://xml.xxnamespace.com/IMC~" xmlns:xsi=~"http://www.w3.org/2001/XMLSchema-instance~" xmlns:root=~"http://xml.xxnamespace.com/RootTypes~" xmlns:email=~"http://xml.xxnamespace.com/Utility/Email~" xsi:schemaLocation=~"http://xml.xxnamespace.com/Utility/Email/EmailService http://dev.xxnamespace.com/Utility/Email/EmailService/V10-TRX-EmailService.xsd~"><EmailServiceInformation><EmailServiceDetail __pbband=~"detail~"><ApplicationIdentifier> applicationidentifier </ApplicationIdentifier><AddresseeInformation><AddresseeDetail><Number> imcnumber </Number></AddresseeDetail></AddresseeInformation><EmailMessageInformation><Ema
    ---------- Done 2 Matches Found On "temp_xml":
    ---------- Finished Searching Target darwin for 'temp_xml'    (9:52:41 AM)

    Maybe "extraneous" is an incorrect term.  Apparantly, based upon the writeup within Wiki, the parser I am using does not interpret the "&quot;"?  How do I find which parser is being utilized and how to control it?
    <<<
    If the document is read by an XML parser that does not or cannot read external entities, then only the five built-in XML character entities (see above) can safely be used, although other entities may be used if they are declared in the internal DTD subset.
    If the document is read by an XML parser that does read external entities, then the five built-in XML character entities can safely be used. The other 248 HTML character entities can be used as long as the XHTML DTD is accessible to the parser at the time the document is read. Other entities may also be used if they are declared in the internal DTD subset.
    >>>

  • German Characters issue while invoking Web Services via UTL_HTTP

    Dear Forum Members,
    I'm trying to invoke SAP CRM Web services from Oracle PL/SQL. I have used following code which is working fine.
    -- call web service using Oracle UTIL_HTTP packages
    DECLARE
      http_req utl_http.req;
         http_resp utl_http.resp;
         lv_request VARCHAR2(32767);
         lc_response CLOB;
         lv_buffer VARCHAR2(32000);
         lv_name          VARCHAR2(256);
         lv_hdr_value     VARCHAR2(1024);     
         l_xml XMLType;          
    BEGIN     
         utl_http.set_persistent_conn_support(true);
         utl_http.set_transfer_timeout(600);
         http_req:= utl_http.begin_request
                                       ( url => 'http://xyz3ni92.server.xyz.com:8045/sap/bc/srt/xip/sap/crm_bupa_custid_qr/011/customersbycrmid/http_binding'
                                       , method => 'POST'                              
         lv_request := '<?xml version="1.0" encoding="UTF-8"?>'
         ||'<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/CRM/Global2">'
       ||'<soap:Header/>'
       ||'<soap:Body>'
          ||'<glob:CustomerCRMByIDQuery>'
             ||'<MessageHeader>'
                ||'<ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?"></ID>'
                ||'<UUID></UUID>'
                ||'<ReferenceID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?"></ReferenceID>'
                ||'<ReferenceUUID></ReferenceUUID>'
             ||'</MessageHeader>'
             ||'<BusinessPartnerSelectionByBusinessPartner>'
                ||'<UUID schemeID="?" schemeAgencyID="?"></UUID>'
                ||'<InternalID>2200117598</InternalID>'
             ||'</BusinessPartnerSelectionByBusinessPartner>'
          ||'</glob:CustomerCRMByIDQuery>'
               ||'</soap:Body>'
         ||'</soap:Envelope>';     
         /*set username and password*/
         utl_http.set_authentication (
                   r => http_req,
                   username => 'WS_USER',
                   password => 'WS_PASSWORD',
                   scheme => 'Basic',
                   for_proxy => false);     
         utl_http.set_header(http_req, 'Content-Type', 'application/soap+xml;charset=UTF-8');
         utl_http.set_header(http_req, 'Content-Length', LENGTHB(lv_request));
         utl_http.write_text(http_req, lv_request);
         /*Make HTTP call*/
         http_resp:= utl_http.get_response(http_req);
         /*read response text from response*/
         BEGIN
                   LOOP
                             utl_http.read_text(http_resp, lv_buffer);
                             lc_response := lc_response || TO_CLOB(lv_buffer);
                   END LOOP;
         EXCEPTION
                   WHEN OTHERS THEN
                        -- ora-29266 end-of-body reached
                        IF SQLCODE <> -29266 THEN
                                  RAISE;
                        END IF;
         END;
         utl_http.end_response(http_resp);     
         l_xml := XMLType(lc_response);
         /*Log response for testing*/
         DELETE FROM webservice_log;
         INSERT INTO webservice_log (seq_id,xml_response) VALUES (sqe_Webservice_Log.NEXTVAL,l_xml);
    EXCEPTION WHEN OTHERS THEN
              RAISE;
    END;However, if there are any German Characters in SAP, then they are being replaced by JUNK data when they come to Oracle.
    If I invoke the same web-service suing tools like SOAP-UI, then German characters are coming fine. I have also traced web-service requests/responses from SAP side, and there response is showing fine. When it comes to Oracle, they are getting corrupted.
    I'm sure it's something to do with character-set, but I'm not able to find-out where and what I should fix/change.
    Thanks for your help in advance.
    DB: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    NLS_DATABASE_PARAMETERS
    PARAMETER                      VALUE                                 
    NLS_LANGUAGE                   AMERICAN                                
    NLS_TERRITORY                  AMERICA                                 
    NLS_CURRENCY                   $                                       
    NLS_ISO_CURRENCY               AMERICA                                 
    NLS_NUMERIC_CHARACTERS         .,                                      
    NLS_CHARACTERSET               AL32UTF8                                
    NLS_CALENDAR                   GREGORIAN                               
    NLS_DATE_FORMAT                DD-MON-RR                               
    NLS_DATE_LANGUAGE              AMERICAN                                
    NLS_SORT                       BINARY                                  
    NLS_TIME_FORMAT                HH.MI.SSXFF AM                          
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM                
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR                      
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR            
    NLS_DUAL_CURRENCY              $                                       
    NLS_COMP                       BINARY                                  
    NLS_LENGTH_SEMANTICS           BYTE                                    
    NLS_NCHAR_CONV_EXCP            FALSE                                   
    NLS_NCHAR_CHARACTERSET         AL16UTF16                               
    NLS_RDBMS_VERSION              11.2.0.1.0   Regards,
    Hari
    added further details by: Hari_639 on Apr 24, 2013 6:45 PM

    Hello Both,
    Thank you.
    I ran following command from SQL Plus window after connecting to DB..
    SQL> @[%NLS_LANG%]
    SP2-0310: unable to open file "[AMERICAN_AMERICA.WE8MSWIN1252]"And also I have checked actual data using DUMP function, it looks like data stored is wrong.
    I have updated one field in SAP such that it only contains German character ä. When I query corresponding data from Oracle I got following output..
    SELECT xmlresponse.Notes,
      dump(xmlresponse.Notes,1010) dump_text
    FROM webservice_log,
      Xmltable(Xmlnamespaces
                                  ('http://www.w3.org/2003/05/soap-envelope' AS "env",
                                   'http://sap.com/xi/CRM/Global2' AS "nm",
                                   'urn:sap.com:proxy:DCT:/1SAI/TAS57DF0B317943DEAE3C49:702' AS "prx"
                                   '/env:Envelope/env:Body/nm:CustomerCRMByIDResponse/BusinessPartner'
                                   PASSING xml_response
                                   columns
                                   NOTES VARCHAR2(4000) PATH 'TextCollection/Text/TextContent/Text'
                             ) XMLRESPONSE;
    /* Output */
    NOTES -- DUMP_TEXT
    ä     Typ=1 Len=4 CharacterSet=AL32UTF8: 195,131,194,164But decimal notation for German character ä is different!
    SELECT DUMP('ä',1010) dump_text from dual;
    /*Output*/
    DUMP_TEXT
    Typ=96 Len=2 CharacterSet=AL32UTF8: 195,164Regards,
    Hari

  • Problem accessing JDev Generated Web Service on PL/SQL Package

    Hi,
    I'v generated a web service from a pl package using the wizard in JDev for use with Adobe Flex builder. Adobe says they support two types of web services, WSDL 1.1 RPC-Encoded and Document-literal. When I create the web service as Document literal, I am able to consume the web service without errors, however, adobe cannot parse the xml because of the namespace tags. I then created an RPC-encoded type of webservice but then when I run my Flex application, it gives following error:
    [WSDLError faultString="Type tns1:text_xml not resolvable" faultCode="WSDL.BadType" faultDetail="null"]
         at mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::parseMessage()
         at mx.rpc.soap::WSDLOperation/parseMessages()
         at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()
         at mx.rpc.soap::Operation/send()
         at Function/http://adobe.com/AS3/2006/builtin::apply()
         at mx.rpc.soap.mxml::Operation/send()
         at SandBox/__btnGetEmployees_click()
    It seems that it does not like either something in the encoded message or the WSDL. Below is my WSDL:
    <definitions name="FamWS" targetNamespace="http://labsoma/FamWS.wsdl">

         <types>

         <schema targetNamespace="http://www.oracle.com/webservices/internal">
    <import namespace="http://labsoma/FamWS.wsdl/types/"/>

         <simpleType name="text_xml">
    <restriction base="string"/>
    </simpleType>
    </schema>

         <schema targetNamespace="http://labsoma/FamWS.wsdl/types/">
    <import namespace="http://www.oracle.com/webservices/internal"/>

         <complexType name="ArrayOfGetFamRowUser">

         <complexContent>

         <restriction base="soap11-enc:Array">

         <sequence>
    <element name="item" type="tns:GetFamRowUser"/>
    </sequence>
    <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:GetFamRowUser[]"/>
    </restriction>
    </complexContent>
    </complexType>

         <complexType name="GetFamRowUser">

         <complexContent>

         <extension base="tns:GetFamRowBase">

         <sequence>
    <element name="firstName" type="string"/>
    <element name="id" type="decimal"/>
    <element name="lastName" type="string"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>

         <complexType name="GetFamRowBase">
    <sequence/>
    </complexType>
    </schema>
    </types>
    <message name="FamWS_getFamBeans"/>

         <message name="FamWS_getFamBeansResponse">
    <part name="result" type="tns0:ArrayOfGetFamRowUser"/>
    </message>
    <message name="FamWS_getFamXMLRowSet"/>

         <message name="FamWS_getFamXMLRowSetResponse">
    <part name="result" type="tns1:text_xml"/>
    </message>
    <message name="FamWS_getFamXMLSource"/>

         <message name="FamWS_getFamXMLSourceResponse">
    <part name="result" type="tns1:text_xml"/>
    </message>

         <portType name="FamWS">

         <operation name="getFamBeans">
    <input message="tns:FamWS_getFamBeans"/>
    <output message="tns:FamWS_getFamBeansResponse"/>
    </operation>

         <operation name="getFamXMLRowSet">
    <input message="tns:FamWS_getFamXMLRowSet"/>
    <output message="tns:FamWS_getFamXMLRowSetResponse"/>
    </operation>

         <operation name="getFamXMLSource">
    <input message="tns:FamWS_getFamXMLSource"/>
    <output message="tns:FamWS_getFamXMLSourceResponse"/>
    </operation>
    </portType>

         <binding name="FamWSSoapHttp" type="tns:FamWS">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

         <operation name="getFamBeans">
    <soap:operation soapAction="http://labsoma/FamWS.wsdl/getFamBeans"/>

         <input>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>

         <output>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" parts="result"/>
    </output>
    </operation>

         <operation name="getFamXMLRowSet">
    <soap:operation soapAction="http://labsoma/FamWS.wsdl/getFamXMLRowSet"/>

         <input>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>

         <output>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" parts="result"/>
    </output>
    </operation>

         <operation name="getFamXMLSource">
    <soap:operation soapAction="http://labsoma/FamWS.wsdl/getFamXMLSource"/>

         <input>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>

         <output>
    <soap:body use="encoded" namespace="http://labsoma/FamWS.wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" parts="result"/>
    </output>
    </operation>
    </binding>

         <service name="FamWS">

         <port name="FamWSSoapHttpPort" binding="tns:FamWSSoapHttp">
    <soap:address location="http://glaptop.sharpanalytics.com:8888/SandBox-GetNums-context-root/FamWSSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    I'm not a XML or Web Service guru, so I hope somebody out there has had similar or can help bridge the gap of my Web Service ignorance.
    Thanks

    There are samples and more information on calling Web services from the database here:
    http://otn.oracle.com/tech/webservices/database.html

  • How can I invoke web service in BPM Object's method?

    In ALBPM 5.7,AJaX can code by Call BPM Object's method.So I want to invoke web service via AJaX by BPM method.
    My sample code is:
    1: HelloWorldWebService ws = HelloWorldWebService();
    2: String param = "John";
    3: String retresult = "";
    4: ws.sayHello(name : parame; out result : retresult);
    and,I have import HelloWorldWebService by wsdl into catalog.
    In fact,at line 1 there is a error(fuego.connector.ConnectorRuntimeException: session is not started). Web service's instance is not created.
    Anybody can help me? thanks.

    Hi,
    I tried calling a simple webservice deployed in weblogic 8.1(see code) and it was working fine for me.
    Code for WS
    package service;
    import com.bea.control.JwsContext;
    import com.bea.jws.Protocol;
    import org.xmlsoap.schemas.soap.envelope.HeaderDocument;
    import com.bea.xml.XmlException;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public class CheckCredit implements com.bea.jws.WebService
    * @common:context
    JwsContext context;
    static final long serialVersionUID = 1L;
    * @common:operation
    * @jws:protocol form-get="false" form-post="false"
    public boolean getCreditRating(String cardNumber)
    System.out.println("Card number is: " + cardNumber );
    boolean result = ((int)(Math.random() *100)) % 2 == 0?true:false;
    return result;
    Code from ALBPM Object method
    creditRatingResult as Bool
    getCreditRating CheckCreditService
    using cardNumber = "1234-5567-4667-4566"
    returning creditRatingResult = creditRatingResult
    logMessage "Result is: " + creditRatingResult
    What I suggest for you problem is:
    1. Check the server on which you have deployed the WS. Does it require any sort of authentication prior to connecting to the WS
    2. It seems you are using Java style in ALBPM. Try switching to PBL. I don't know how it makes a difference, but sometimes it helps
    Thanks and Regards
    Vivek Nandey
    BEA Certified Developer for Integration Solutions
    [email protected]

  • Error Invoking Web Service Action: null

    I am using the WEBSERVICE action in the BLS to access a third party system.  I am getting an error during execution: [ERROR]: Error Invoking Web Service Action: null.  I cannot find any messages in any of the logs.  Even though the action fails, the remote WebService processes properly.  My basis guy seems to think that it is related to SOAP incompatibilities/versions.  Any other ideas floating around out there?  Any other methods to troubleshoot?  The external application uses Document-Literal Style web services and conforms to WS-I Basic Profile.

    All -
    Here is a trace.  My remote web service returns an empty SOAP body upon success (SOAP envelope only).  Is this causing the Null Pointer Exception??
    PS - I am also getting a lot of "WARNING: received an illegal cookie" messages.  Is this a problem.
    [Wed Mar 19 16:38:08 EDT 2008] <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope ...xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body> ...blah, blah...</soap:Body>
    </soap:Envelope>
    [Wed Mar 19 16:39:09 EDT 2008] java.lang.NullPointerException
    [Wed Mar 19 16:39:09 EDT 2008]      at org.apache.commons.httpclient.HttpMethodBase.getStatusCode(HttpMethodBase.java:590)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.webservice.SoapClient.invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.RawInvoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.actions.webservice.WebServiceAction.Invoke(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.Action.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.engine.TransactionEngine.Execute(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.xacute.services.Runner.doGet(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    [Wed Mar 19 16:39:09 EDT 2008]      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:638)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:236)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDispatcher.java:283)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:96)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.lighthammer.cms.system.CMSFilter.doFilter(Unknown Source)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2159)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1823)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:937)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:973)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:167)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:204)
    [Wed Mar 19 16:39:09 EDT 2008]      at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:487)
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Version
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
    [Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
    [Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
    [Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2

  • ESB Invokes Web Service More than once

    Hi,
    I have an ESB that invokes a Web Service Asynchronously (Using SOAP). In certain scenarios Web Service takes as much as 5 minutes to complete its operations. In such cases i am able to see ESB generating multiple requests to the Web Service. Multiple Requests are not generated in case Web Service completes its operations within a shorter duration (duration is based on business scenarios). I tried invoking the web service directly and i found that web service is invoked only once even when it takes 5 minutes.
    Please let me know if any of you have faced similair problems and also any possible ways of resolving this issue.
    Thanks,
    Rajesh

    We found that the default retry property of esb was the root cause of the issue. But still why should the esb retry as the call to webservice is an async one. The ESB should have completed the process.
    Why 5 minutes - Webservice performs a lot of validations and also the environment is a development one and not optimized.
    Regards,
    M.Rajesh

  • Invoking web service with HTTP authentication using OdiInvokeWebService

    I did all configurations in OdiInvokeWebService Advanced Editor. When I press "Invoke web service" there are no errors. But when I try to execute this step there is an error:
    java.lang.IllegalArgumentException: Bad password format. Make sure that it's an encrypted password.
    Text of the command:
    OdiInvokeWebService "-URL=http://sapk02:8080/sap/bc/srt/rfc/sap/ZODI_FILE_SER?sap-client=800&wsdl=1.1" "-PORT_TYPE=ZODI_FILE_SER" "-OPERATION=ZODI_FILE" "-HTTP_USER=user" "-HTTP_PASS=_321321_"
    *<?xml version = '1.0' encoding = 'UTF8'?>*
    *<ZODI_FILERequest>*
    *<ZODI_FILE>*
    *<FILE>/tmp/temp1.txt</FILE>*
    *</ZODI_FILE>*
    *</ZODI_FILERequest>*
    When I fill HTTP password edit manually and try to execute there is another error:
    *com.sunopsis.wsinvocation.SnpsWSInvocationException: AxisFault*
    *faultCode: {http://xml.apache.org/axis/}HTTP*
    *faultSubcode:*
    *faultString: (401)Unauthorized*
    Text of the command:
    *OdiInvokeWebService "-URL=http://sapk02:8080/sap/bc/srt/rfc/sap/ZODI_FILE_SER?sap-client=800&wsdl=1.1" "-PORT_TYPE=ZODI_FILE_SER" "-OPERATION=ZODI_FILE" "-HTTP_USER=user" "-HTTP_PASS=*aIyHMmFSmTzVm1V08nTf"
    *<?xml version = '1.0' encoding = 'UTF8'?>*
    *<ZODI_FILERequest>*
    *<ZODI_FILE>*
    *<FILE>/tmp/temp1.txt</FILE>*
    *</ZODI_FILE>*
    *</ZODI_FILERequest>*
    ODI Version 11.1.1.3.0

    I've gotten past the original error by importing the security certificate of the Web service into my keystore/truststore. I'm also running the process on SOA 10.1.3.1.0. Now when I invoke the Web service from the BPEL process I get this error:
    exception on JaxRpc invoke: HTTP transport error:
    javax.xml.soap.SOAPException: java.security.PrivilegedActionException:
    javax.xml.soap.SOAPException: Bad response: 403 Forbidden
    I've tried passing the credentials every way I can -- partner link properties, Oracle Web Services Manager, whatever -- and still get the same error. I would expect to see a 401 error for problems with credentials, not a 403.
    Any suggestions?
    Thanks for your time.
    Paul Camann

  • Problem invoking web service

    We have a web service that is working some times and not
    others. It is local so it's not a problem with the internet being
    busy or anything like that. We do
    service.addEventListener(InvokeEvent.INVOKE, debugInvoke);
    service.send();
    and the times when it fails, debugInvoke (a local function)
    never gets called. We also have event handlers for RESULT and FAULT
    and those two don't get called either.
    The doc says
    "The invoke event is dispatched when a service Operation is
    invoked so long as an Error is not thrown before the Channel
    attempts to send the message" but I don't really know what that
    means. Can anybody shed some light on this? Thanks.

    I don't know if you're having the same problem, but when I
    was having timing issues, it was related to my calling of the web
    service before the WSDL was fully loaded.
    In my case, the service was being called when my app
    initialized. My solution was to add a load handler to my service
    like so:
    service.addEventListener(LoadEvent.LOAD, loadWsdlHandler);
    service.loadWSDL();
    My loadWsdlHandler method then made the actual service call,
    secure in the knowledge that the WSDL was fully loaded.
    The WSDL only needs to be loaded once before the first
    service call. If your service is first called by user interaction,
    then you could add the component in a disabled state, load the WSDL
    when the app initializes, and your load handler can enable the
    relevant control.
    Steve

  • Invoke Web Service - An unknown error occurred

    We recently moved our Runbooks to Windows Server 2012 R2. The Invoke Web Services activity has not been executed previously on this installation and thus no cache files.
    Entering any SOAP WSDL into the WSDL Properties fields then clicking Method throws an error An Unknown Error Occurred.
    Do not see any additional information in Logs or Event Viewer.
    All WSDLs are known to be good and are consumed by other applications, including PowerShell.
    Thoughts?
    Edit: Tested on another installation and it works. I do not have the option to reinstall the server that is facing this issue.
    Moved On

    Resolved the issue. Team forgot to install R2. The working environment has R2, after upgrading the issue is resolved.
    It would appear that Invoke Web Services in Orchestrator 2012 is useless.
    Moved On

  • How to invoke web services in sequence in ESB?

    Is there any way to invoke multiple services (web, adapter) in a sequence using only the ESB? (I don't want to bring in BEPL).
    Something like this:
    Read File using File Adapter into schema
    |
    v
    Invoke database adapter to retrieve data and use it to enrich schema
    |
    v
    Invoke web service to retrieve more data and use it to enrich schema
    |
    v
    Send enriched schema to a final web service to perform some operation.
    Thanks in advance.

    From a technical standpoint, all I want to do is move data from point a to endpoints b, c, and d, and then move the reply or the fault from one of endpoints b, c, or d (whichever one the request went to) back to a.
    The "business logic" along the way is at 3 places:
    (1). To enrich the data that's being moved. The enriching data is in a database someplace. The logic that determines what that data is in the database is in the original data (message).
    Something like this:
    //Based on values in the original message, get some row
    If OriginalData.Body.field1 = X and OriginalData.SOAPHeader.field2 = y then retrieve Database.Row Z from the database
    then
    //Enrich the original message with the data from the retrieved row
    OriginalData.Body.field3 = Database.Row Z.field9
    (2). To decide where to move the data, i.e. b, c, or d. The decision to route the data dynamically retrieved from a web service.
    Something like this:
    Rule 1: If OriginalData.Body.field3 = A and OriginalData.SOAPHeader.field1= B then move data to endpoint b.
    Rule 2: Or If OriginalData.Body.field2 = C and OriginalData.SOAPHeader.field4= C then move data to endpoint c.
    Rule 3: Or If OriginalData.Body.field5 = C and OriginalData.SOAPHeader.field6= C then move data to endpoint d.
    ... and more combinations.
    So, send web service the enriched data and it applies rules Rule 1, and it sends back "b". Send web service the enriched data and it applies rules Rule 2, and it sends back "c". Send web service the enriched data and it applies rules Rule 3, and it sends back "d". In this way, adding new rules to the web service lets the customer dynamically "grow" new endpoints.
    (3). To transform the data from the format of point a to one of the formats of endpoints b, c, or d. The decision to transform the schema of the data is taken based on the outcome of the business logic applied in (2) above.
    This is a sample use case that my customer is using to compare Oracle's ESB capabilities with other vendors', and I have to work within specific boundaries.
    So, as I stated in my first post, I cannot use BPEL. All I have to establish is whether Oracle can do this using ESB.

  • Transaction Output when invoked Web Service

    Hi all,
    I have developed a transaction which has an output parameter of type list, derived from the classic ERP BAPI Flight Get List
    When I invoke the transaction as web service from a SOAP test tool I get a SOAP response like:
    <MyTestOutput>
    [[string:FRA], [string:TYO], [string:FCO],  [string:KIX]]
    </MyTestOutput>
    So the output xml element is just one, containing the whole list.
    I don't like this because the web service consumer must parse that element to get all the result items.
    What I would like is a more xml-like output structure, such as:
    <MyTestOutput>[string:FRA]</MyTestOutput>
    <MyTestOutput>[string:TYO]</MyTestOutput>
    <MyTestOutput>[string:FCO]</MyTestOutput>
    <MyTestOutput>[string:KIX]</MyTestOutput>
    Is there a simple way to achieve that?
    In the help/guides I have studied there's no hint about how to do so.
    Thanks, regards
    Vincenzo

    Hi Vincenzo,
    I reopened your thread. 
    Instead of making your output parameter type of List, create an output parameter of type xml.  If you look at most of the transactions available as downloads, you will see numerous examples of the types of structures the xml will accomodate.  And you will not have to convert the outputs back to xml for further processing.
    If you use a repeater to build your xml, you can accomplish the structure you desire.  Alternatively, you can build an MII Document and the format will be
    <Rowsets>
    <Rowset>
    <Row>
    <your Fieldname>
    data1
    </your Fieldname>
    </Row>
    <Row>
    <your Fieldname>
    data2
    </your Fieldname>
    </Row>
    <Row>
    <your Fieldname>
    data3
    </your Fieldname>
    </Row>
    <Row>
    <your Fieldname>
    data4
    </your Fieldname>
    </Row>
    </Rowset>
    </Rowsets>
    Regards,
    Mike
    Edited by: Michael Appleby on Sep 20, 2011 1:29 PM

Maybe you are looking for

  • Partitioning Hard Drive for Use with Mac (Time Machine) and Windows

    I have a brand new Imac on which I am also running WIndows Vista through Boot Camp (sweet, by the way). I have a large external hard drive on which I set up Time Machine easily enough. I would like to partition the drive somehow so that I could use h

  • Purchase order number issue

    Hi Friends, In the standard SAP is allowed the PO # is up to 10 digits. but our client is asking to maintain 12 digit PO # as per their business process. Is it possible to do that in standard SAP or is any other solution available? regards, Sathes

  • Aironet 1310 Bridges keep losing connection

    There was a similar thread about this last year and I tried what was listed in there to no avail.  I have 2 Aironet 1310 bridges, one as a route bridge and the second as a non-route with clients.  These worked great for nearly a year, we had no probl

  • Can't use PayPal Credit on eBay.

    I noticed that I have $506 in PayPal Credit in my account. I tried to buy something on eBay and it said that it couldn't authorize my payment. I also tried to buy something on a different site and got rejected. Why is it showing $506 on the main page

  • External AAA for WLC 5760

    Hi, I have WLC 5760 on mode Centralized because I don't have Switch 3850. I need to implement dot1x authentication using external AAA Server which is in my case is Active Directory on Windows 2012 Server. You can see my configuration in pictures i at