Json PUT method business service invoke via OSB

Hi,
I have to invoke business service that takes input as json object. I have followed following steps to create the project.
1. I have setup business service with "Messaging Service", and selected TEXT as request and response.
2. Created proxy service that is using wsdl.
3. In message flow, I have added service call out and setup bodyRequest as Request Variable in payload document.
4. I have added transport header to setup header as required.
5. $bodyRequest is setup by json lib utility(java callout), which gets xml as input and return json object as string.
6. When business service get invoked, Following payload is passed:
<soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
     {"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}}
</soapenv:Body>
whereas it should be only json request i.e.
{"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}}
When I see the trace I get "{"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}}" in $bodyRequest, but when it is passed to business Service, it gets embedded in <soapenv:Body></soapenv:Body>
Kindly can anyone help me in this regard.

yes, but I get response as no json body was found. This is response if i give input with soapBody, but if i only give json object i.e. {"name":"string","status":"string","utilities":{"utilId":"string","utilType":"string"}} , outside OSB i.e. using some json tool, it works fine.

Similar Messages

  • OSB: Retrieve list of proxy service/business service operations via OSB API

    Hi,
    I would like to retrieve the list of proxy service/business service operations using OSB API. I was able to retrieve References to all services on given server using examples from documentation (http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/configuration/ALSBConfigurationMBean.html). I'm also able to retrieve the Reference to any given service I want.
    My problem is - what do I do next? I've read here[http://www.theserverlabs.com/blog/2012/03/14/alsbosb-customization-using-wlst/] , that one can use ServiceConfigurationMBean.
    But when I execute this code:
              ServiceConfigurationMBean servConfMBean = (ServiceConfigurationMBean) domainService
              .findService(
                        ServiceConfigurationMBean.NAME + "." + sessionName,
                        ServiceConfigurationMBean.TYPE,null);
    The servConfMBean object is null.
    I know that there might be some useful info in the statistics, but my proxys are enabled for monitoring, and therefore I'm unable to obtain statistics programatically.
    I've also learned that thereis a TransportManagerHelper.getWsdlDescription(ref) method. But it throws null pointer exception. I dont understand how to use it.
    Any help would be greatly appreciated.
    Veronica
    Edited by: Veronica on Apr 11, 2012 2:33 AM

    There is an API change from the OSB release 11.1.1.3 and later....
    There is a solution, but this is based on Java & JMX:
    See support on this note:
    WLST scripting needed for note [ID 1431254.1]

  • Business Service Issue for OSB 10.3.1 when call web service of SAP ECC 710

    Hello,
    1 . I was doing unit test for a business service which called a web service from SAP ECC 710 (This service is published directly from a RFC function module via SOA Manager);
    2 .The problem is when i use the OSB test console , which generate request message below:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">*
    *</soap:Header>*
    <soapenv:Body>
    <urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503>
    </soapenv:Body>
    </soapenv:Envelope>
    the response message is :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header>
    <n0:MessageID xmlns:n0="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    uuid:4cbe5b84-474c-9abe-e100-00000ad00164
    </n0:MessageID>
    <n1:Action soap-env:mustUnderstand="1" xmlns:n1="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope"/>
    </soap-env:Header>
    <soap-env:Body/>
    </soap-env:Envelope>
    Above response indicates that the BS called the SAP Web server successfully , but seems the service didn't get the request message.
    3. The Web service can be called successfully via SoapUI . and i have checked the request message of soapUI; and it can work if i simply modify the request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>*
    <soapenv:Body>
    <urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503>
    </soapenv:Body>
    </soapenv:Envelope>
    and i got the correct response :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header/>
    <soap-env:Body>
    <n0:Zmmjf503Response xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
    <Recmsg><![CDATA[<?xml version="1.0" encoding="utf-8"?><DocumentResponse><STATE>0</STATE><HTBH></HTBH><MESSAGE></MESSAGE></DocumentResponse>]]></Recmsg>
    </n0:Zmmjf503Response>
    </soap-env:Body>
    </soap-env:Envelope>
    4 It bother me , as the only difference between the above two request messages is the Header(the first one contains a "carriage returns"):
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">*
    *</soap:Header>*
    VS
    *<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>*
    5 i thought that the soap engine should ignore the "carriage returns", seems it's a problem of SAP ECC710.
    DID anyone encouter this problem?? Thanks
    Regards
    Wen

    Thanks,Patrick,
    i have already removed the Soap:header, and it worked as well. what's more , using header " <soapenv:Header/>" worked.
    And i got these request messages via TCPMON, so it's exactly what were sent to SAP ECC710.
    The HTTP request which cannot work:
    POST /sap/bc/srt/rfc/sap/zmmjf_503/400/zmmjf_503_service/zmmjf_503_soapbinding HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Authorization: Basic enpoZmhlOnBhc3N3b3Jk
    SOAPAction: ""
    Transfer-Encoding: chunked
    User-Agent: Java1.6.0_05
    Host: 10.208.1.100:8000
    Accept: text/html, image/gif, image/jpeg, */*; q=.2
    Connection: Keep-Alive
    017a
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header><soapenv:Body><urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503></soapenv:Body></soapenv:Envelope>
    0000
    THE HTTP request which can work:
    POST /sap/bc/srt/rfc/sap/zmmjf_503/400/zmmjf_503_service/zmmjf_503_soapbinding HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Authorization: Basic enpoZmhlOnBhc3N3b3Jk
    SOAPAction: ""
    Transfer-Encoding: chunked
    User-Agent: Java1.6.0_05
    Host: 10.208.1.100:8000
    Accept: text/html, image/gif, image/jpeg, */*; q=.2
    Connection: Keep-Alive
    016c
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"/><soapenv:Body><urn:Zmmjf503 xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
    <ContractInfo>string</ContractInfo>
    </urn:Zmmjf503></soapenv:Body></soapenv:Envelope>
    0000
    Thing is that if i just use
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>
    to replace (which means i just simply remove the carriage return)
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    in the header field of OSB Test console, it can work!!!
    It's really a weird issue. and it bothers me so much ;)
    any suggestions?
    Regards
    Wen

  • How do I build a dynamic business service URL in OSB 11g?

    Hello,
    I am used to using the business service endpoint URIs that we configure on the Transport tab of our business services in OSB 11.1.1.6.  We can add multiple static entries here for load balancing, and we can overwrite these with a Customization File as we migrate through DEV, TEST, PROD.  Everything's just fine there.
    I now need to start consuming RESTful services with dynamic URLs such as:
    http://host:port/customer/{customerId}
    that would result in HTTP calls to values like:
    http://host:port/customer/12345678
    and
    http://host:port/customer/55555555
    I see that I can build the URI using the Routing Options action in our proxy message flow and throw in all of those variable values at runtime.  This is working in DEV just fine.  And, effectively, I've overridden the business service endpoint URIs that we configured in the Transport.
    But now I want to:
    1) Use multiple endpoint URIs for our cluster
    2) Deploy to TEST
    What is the proper way to do this?  I would guess in the business service endpoint URIs in the customization file, but I don't know how to parameterize those.  I would also guess customization file find/replace functionality to change the host:port in my Routing Options action, but then that would still be just a single-node endpoint and not a pointer to multiple servers in our cluster.
    Can someone please advise the best way to configure these dynamic URLs at runtime while still allowing for clustered endpoints and for customization files to be applied as we promote through our environments?
    Thank you,
    Michael

    Found some old code.
    I think you need to do
    property_text = "#"^variable_text
    then you can do the following
    property_list[1][property_text]
    That seemed to work.

  • Business Service SOAP Fault : OSB still using body to populate fault?

    I have a SOAP service specifically returning a SOAP fault. OSB doesn't recognize it as an fault and continues processing as if everything is OK. As per the documentation, in case of SOAP faults, OSB should generate a $fault variable based on the details present inside the SOAP fault, which in turn should give the control to the normal error handling stage and by pass the pipe line flow.
    Does anyone know how to get OSB to recognize a SOAP fault for what it is? Here's the response returned to OSB:
    <SOAP-ENV:Fault xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <faultactor/>
    <faultcode>SOAP-ENV:</faultcode>
    <faultstring>TEST ERROR 1</faultstring>
    <detail>
    <NS1:EOSGAPIError xsi:type="NS1:EOSGAPIError" xmlns:NS1="urn:eschelon.com/osg/1_0-OSGAPILib">
    <exceptionClassName xsi:type="xsd:string">Exception</exceptionClassName>
    <method xsi:type="xsd:string"/>
    </NS1:EOSGAPIError>
    </detail>
    </SOAP-ENV:Fault>
    Regards,
    Anuj

    Here are the contents of Invocation trace:
    (receiving request)
    Initial Message Context
    added $body
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <SendSmsMessage xmlns="http://datasquirt.com/webservices/">
    <customerIdentificationCard>
    <CustomerID>12121</CustomerID>
    <CustomerRef1>1212121</CustomerRef1>
    <CustomerRef2>ASDASDASD</CustomerRef2>
    <DisableCustomerCreation>true</DisableCustomerCreation>
    </customerIdentificationCard>
    <sender>1212</sender>
    <receiver>12121</receiver>
    <messageText>
    Have you finished the page specs yet? Greetings from NEO!
    </messageText>
    </SendSmsMessage>
    </soapenv:Body>
    added $header
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"/>
    added $inbound
    <con:endpoint name="ProxyService$Testing$Testing123" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="loc:LocalRequestMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="loc:LocalResponseMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username><anonymous></con:username>
    </con:transportClient>
    </con:security>
    </con:endpoint>
    added $messageID
    2118966794361651537--67bbd0aa.12b51c9a704.-7f90
    PipelinePairNode1
    stage1
    Message Context Changes
    changed $body
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <SendSmsMessage xmlns="http://datasquirt.com/webservices/">
    <customerIdentificationCard>
    <CustomerID>12121</CustomerID>
    <CustomerRef1>1212121</CustomerRef1>
    <CustomerRef2>ASDASDASD</CustomerRef2>
    <DisableCustomerCreation>true</DisableCustomerCreation>
    </customerIdentificationCard>
    <sender>1212</sender>
    <receiver>12121</receiver>
    <messageText>
    Have you finished the page specs yet? Greetings from NEO!
    </messageText>
    </SendSmsMessage>
    </soapenv:Body>
    changed $inbound
    <con:endpoint name="ProxyService$Testing$Testing123" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="loc:LocalRequestMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="loc:LocalResponseMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username><anonymous></con:username>
    </con:transportClient>
    </con:security>
    </con:endpoint>
    RouteNode1
    Routed Service
    Route to: "NotificationBsSendSMSNotificationHttp"
    $outbound:
    <con:endpoint name="BusinessService$NotificationOsbProject$BusinessServices$NotificationBsSendSMSNotificationHttp" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>SendSmsMessageWithTemplate</con:operation>
    </con:service>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml</http:Content-Type>
    <http:SOAPAction>
    "http://datasquirt.com/webservices/SendSmsMessageWithTemplate"
    </http:SOAPAction>
    </tran:headers>
    </con:request>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>
    $body (request):
    <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <SendSmsMessage xmlns="http://datasquirt.com/webservices/">
    <customerIdentificationCard>
    <CustomerID>12121</CustomerID>
    <CustomerRef1>1212121</CustomerRef1>
    <CustomerRef2>ASDASDASD</CustomerRef2>
    <DisableCustomerCreation>true</DisableCustomerCreation>
    </customerIdentificationCard>
    <sender>1212</sender>
    <receiver>12121</receiver>
    <messageText>
    Have you finished the page specs yet? Greetings from NEO!
    </messageText>
    </SendSmsMessage>
    </soapenv:Body>
    $header (request):
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"/>
    $attachments (request):
    <con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>
    Message Context Changes
    added $outbound
    <con:endpoint name="BusinessService$NotificationOsbProject$BusinessServices$NotificationBsSendSMSNotificationHttp" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>SendSmsMessageWithTemplate</con:operation>
    </con:service>
    <con:transport>
    <con:uri>
    http://tabcorpapi.datasquirt.com.au/V2/ContactService.asmx
    </con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:SOAPAction>
    "http://datasquirt.com/webservices/SendSmsMessageWithTemplate"
    </http:SOAPAction>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="X-AspNet-Version" value="2.0.50727"/>
    <tran:user-header name="X-Powered-By" value="ASP.NET"/>
    <http:Cache-Control>private</http:Cache-Control>
    <http:Content-Length>1180</http:Content-Length>
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:Date>Mon, 27 Sep 2010 11:27:25 GMT</http:Date>
    <http:Server>Microsoft-IIS/7.0</http:Server>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    <http:http-response-code>200</http:http-response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>
    changed $body
    <SOAP-ENV:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0">
    <SOAP-ENV:Fault id="ref-1">
    <faultcode id="ref-2">SOAP-ENV:Authentication Issue</faultcode>
    <faultstring id="ref-3">
    Access Denied - Missing or incomplete Authentication Header
    </faultstring>
    <faultactor id="ref-4">
    http://tabcorpapi.datasquirt.com.au/V2/ContactService.asmx
    </faultactor>
    <detail xsi:type="a1:ServerFault" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Runtime.Serialization.Formatters">
    <exceptionType id="ref-5">ApiAuthenticationException</exceptionType>
    <message id="ref-6">
    Missing or incomplete Authentication Header
    </message>
    <stackTrace id="ref-7">
    at Datasquirt.Contact3.API.Security.AuthenticationModule.OnEnter(Object source, EventArgs eventArgs)
    </stackTrace>
    <exception xsi:null="1"/>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    changed $attachments
    <con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>
    changed $inbound
    <con:endpoint name="ProxyService$Testing$Testing123" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="loc:LocalRequestMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="loc:LocalResponseMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username><anonymous></con:username>
    </con:transportClient>
    </con:security>
    </con:endpoint>
    changed $header
    <soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"/>
    PipelinePairNode1
    stage1
    Message Context Changes
    changed $body
    <SOAP-ENV:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0">
    <SOAP-ENV:Fault id="ref-1">
    <faultcode id="ref-2">SOAP-ENV:Authentication Issue</faultcode>
    <faultstring id="ref-3">
    Access Denied - Missing or incomplete Authentication Header
    </faultstring>
    <faultactor id="ref-4">
    http://tabcorpapi.datasquirt.com.au/V2/ContactService.asmx
    </faultactor>
    <detail xsi:type="a1:ServerFault" xmlns:a1="http://schemas.microsoft.com/clr/ns/System.Runtime.Serialization.Formatters">
    <exceptionType id="ref-5">ApiAuthenticationException</exceptionType>
    <message id="ref-6">
    Missing or incomplete Authentication Header
    </message>
    <stackTrace id="ref-7">
    at Datasquirt.Contact3.API.Security.AuthenticationModule.OnEnter(Object source, EventArgs eventArgs)
    </stackTrace>
    <exception xsi:null="1"/>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    changed $outbound
    <con:endpoint name="BusinessService$NotificationOsbProject$BusinessServices$NotificationBsSendSMSNotificationHttp" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>SendSmsMessageWithTemplate</con:operation>
    </con:service>
    <con:transport>
    <con:uri>
    http://tabcorpapi.datasquirt.com.au/V2/ContactService.asmx
    </con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:SOAPAction>
    "http://datasquirt.com/webservices/SendSmsMessageWithTemplate"
    </http:SOAPAction>
    </tran:headers>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="X-AspNet-Version" value="2.0.50727"/>
    <tran:user-header name="X-Powered-By" value="ASP.NET"/>
    <http:Cache-Control>private</http:Cache-Control>
    <http:Content-Length>1180</http:Content-Length>
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    <http:Date>Mon, 27 Sep 2010 11:27:25 GMT</http:Date>
    <http:Server>Microsoft-IIS/7.0</http:Server>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    <tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">OK</tran:response-message>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    <http:http-response-code>200</http:http-response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>
    changed $inbound
    <con:endpoint name="ProxyService$Testing$Testing123" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>best-effort</con:qualityOfService>
    <con:request xsi:type="loc:LocalRequestMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="loc:LocalRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:request>
    <con:response xsi:type="loc:LocalResponseMetaData" xmlns:loc="http://www.bea.com/wli/sb/transports/local" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
    </con:response>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username><anonymous></con:username>
    </con:transportClient>
    </con:security>
    </con:endpoint>
    As per my understanding after Route to: "NotificationBsSendSMSNotificationHttp", the fault should be present in the $fault variable in place of $body,
    Regards,
    Anuj

  • OSB Business Service Scripted Automation Testing

    Hi,
    The dilemma I am facing is to create some sort of automated process of testing of Business Services created in OSB, perhaps via ANT and Phyton, to be used as verification after deployments by deployment team. I am trying to have the scripted process to run certain request payloads from specified location against business services and compare the results with expected responses stored in some directory and report the health of the business services, based on this comparison.
    I appreciate any help in advance.

    Thank you so much for your response Pierluigi, but one other dilemma I have is not to install any application on any of the domain and achieve this through some sort of perhaps ANT and/or Phyton script, since I am not allowed to install any thing on production servers.
    Thanks,
    Mani

  • OSB Business Service Work Manager Doesnt Throttle

    Hi,
    I have a requrirement to throlle the number of concurrent requests going to an end point.
    So i have used OSB business service where in i am calling an end point webservice, and configured a work manager in console and selected it in the dispatch policy
    I deployed the workmanager on managed server. i specified max concurrent threads as 3.
    I tried to test it and see that throttling doesnt really work.. All the requests sent are being sent at once not 3 at a time.
    The expected behavior is first 3 sdhud go and then onc ethey complete next 3 similary next 3. But i dont see that behavior. Please let me know if i am doing any worng
    below is my work manager configuration
    Service Type Any XML Service
    Transport Configuration
    Protocol http
    Load Balancing Algorithm round-robin
    Endpoint URI <Specified the end point URI>
    Retry Count 0
    Retry Iteration Interval 0
    Retry Application Errors Yes
    HTTP Transport Configuration
    Read Timeout 0
    Connection Timeout 0
    HTTP Request Method POST
    Authentication None
    Proxy Server
    Follow HTTP redirects Disabled
    Use Chunked Streaming Mode Enabled
    Dispatch Policy WorkManagerTest
    Message Handling Configuration
    XOP/MTOM Support Disabled
    Page Attachments to Disk No
    Result Caching Not Supported
    Any suggestions on this?
    Edited by: 791951 on Mar 17, 2011 7:51 AM

    If you need to throttle the Business service, then you should configure the throttling parameters in the Business Service -> Operational Settings tab
    Choose your Business Service in the OSB Console -> Operational Settings
    Throttling -Check this box to enable the throttling. Maximum Concurrency to 3, and Throttling Queue to x number of messages you wish to hold in the throttling queue

  • How to set SOAP Header When Calling Business Service (OSB) Using Split-Join

    Hi,
    We need to call WSDL based webservice which requires heading static content for successful call. As we need to call the same service parallely, hence we want to use Split-Join.
    Looked at couple of forum links, noted that we can't play with headers while working with Split-Join.
    For curiosity, just want to check any option other than using proxy as mediator in setting header information.
    Regards
    Venkata Madhu

    Venkata,
    You still have the option, if you hv n't tried this one.
    To enable this capability, you must declare the header parts along with the body parts in a single request/response message in the Split-Join WSDL and in the WSDL of the proxy or business services invoked by the Split-Join. With the message parts declared in the WSDLs, SOAP header content is available to Split-Joins in the request/response message variables.
    Following is an example of the message and binding definitions in the WSDL.
    Message
    <wsdl:message name="retrieveCustomerOverviewByIdRequestMessage">
    <wsdl:part name="retrieveCustomerOverviewByIdRequest"
    element="co:retrieveCustomerOverviewByIdRequest"/>
    *<wsdl:part name="serviceContext" element="sc:serviceContext"/>*
    </wsdl:message>
    Binding
    <wsdl:input>
    <soap:body use="literal" parts="retrieveCustomerOverviewByIdRequest"/>
    *<soap:header message="tns:retrieveCustomerOverviewByIdRequestMessage"part="serviceContext" use="literal"/>*
    </wsdl:input>
    hope it helps !!
    Regards,
    Abhinav

  • ALSB business service invocation of a collocated web service

    If my ALSB business service invokes a web service that is collocated in the same WebLogic Server instance - does the WebLogic Server have any optimization to avoid unnecessary processing (e.g. creating the soap message, etc.)? For example - the loan application ALSB sample. In my case, I created a web service using Beehive controls to integrate with my service logic - does that matter?

    The quick answer to your question is no, there is no optimization that bypasses the web services stack for web services that are hosted in the same container.
    There is an optimization called a local transport that bypasses much of network stack, but it can only be invoked by other proxies, and does not do what you describe.
    http://edocs.beasys.com/alsb/docs30/localtransport/localTransport.html#wp1075782
    If you have a specific requirement or enhancement request, I recommend you submit it via your local account team and/or post it on to the SOA Suite forum:
    SOA Suite

  • To get Recommended Budget Amount using business service

    I created business service using the service program CILCACCP to get the recommended budget amount but I am getting zero for recommended budget amount. I am able to get the recommended budget amount if I click the recommended button on the budget tab of the account page. we have CC&B 2.2 version.
    Here is the schema for the business service
    <schema>
    <accountId mapField="ACCT_ID"/>
    <custClCd mapField="CUST_CL_CD" default="STD-R"/>
    <acctInfo mapField="ACCT_INFO"/>
    <premiseInfo mapField="PREM_INFO"/>
    <currentBalance mapField="CUR_BAL"/>
    <totalBalance mapField="TOT_BAL"/>
    <recommendBudgetSw mapField="RECOMMEND_BUD_SW" default="true"/>
    <calApplyBudSw mapField="CAL_APPLY_BUD_SW" default="true"/>
    <budPlanCd mapField="BUD_PLAN_CD" default="BUD-R"/>
    <newBudDt mapField="NEW_BUD_DT" default="%CurrentDate"/>
    <totalNewBudget mapField="TOT_NEW_BUD"/>
    <Budgamtlist type="list" mapList="SA_BUDGET">
    <budgetAmt mapField="BUD_AMT"/>
    <newBudgetAmount mapField="NEW_BUD_AMT"/>
    <saId mapField="SA_ID"/>
    </Budgamtlist>
    </schema>
    Edited by: user8859068 on Nov 3, 2010 9:59 AM

    Recommend Budget requires a particular pageAction (BS) / transactionType (XAI) which cannot be specified, as it only allows add, update, delete, read (default if unspecified) actions.
    This event for MO/Service CILCACCP is only invoked if the pageAction is "default" and there is no way to specify that either through Business Service or via Inbound Web Service (XAI) as mentioned above.
    You also need to specify/map DEFAULT_FOR_FLG field with a value of 'RCBUD'.
    This has been fixed in CC&B v2.3.0 with patch 9300696.

  • JDE business services

    Hi,
    1.BPEL can invoke JDE Business Services(wsdl) but similarly, can JDE Business Services invoke BPEL web service(wsdl) ?
    Thanks
    Edited by: soauser on Aug 20, 2010 11:58 AM
    Edited by: soauser on Aug 20, 2010 11:59 AM
    Edited by: soauser on Aug 20, 2010 2:48 PM
    Edited by: soauser on Sep 2, 2010 7:57 AM

    Demo E900 is a big mess, perhaps "Oracle Lab" packaged it this way.
    Do this:
    1- Create a project "Temp"
    2- Check out F986020 & F986030 (only specs available, no table exists in the data source) - if you try to see by UTB or databrowser
    3- Generate table & index in design (take every thing as default)
    4- Now try check-in your BSSVs.
    5 Goodluck

  • Proxy Business service http request to webapp

    I have a webapp deployed to my appserver and have coupled that up to a Business service in my OSB
    In the Business service Test panel I can verify that my http request to my webapp operates correctly
    I need to configure several Proxy services which will translate into HTTP requests being issued by my Business service
    Can someone point me to an example of how this might be setup
    Thanks

    Hi
    No matter what I try I can't seem to get my outbound variable modified so that the right info is sent to my busiiness service
    my Proxy service is an inbound HTTP request, so I read/process the
    $inbound/ctx:transport/ctx:request/http:query-string
    to suit my business service
    my Business service is another HTTP interface
    I can't seem to modify the $outbound variable so that it includes a ctx:transport/ctx:request/http:query-string
    any help greatly appreciated

  • Re: OSB - How to put multiple files via a osb ftp business service?

    I have been trying to create an ftp business service to transfer files to a remote machine. I select that the service should support any XML document (since I am only sending XML). Then, I specify the remote server directory like so:
    ftp://hostname:port/directory
    I take the rest of the default settings. However, when I use the business ftp service by testing it in the console, it just hangs. I can successfully ftp to the server and send files from the OSB server command line to the remote server in question. So, it isn't a problem with our network or a misconfiguration of ftp. Has anyone successfully used the ftp business service in OSB? If so, how do I configure it properly? Thanks much

    Have you checked server logs? Enable message tracing in operational settings and check the logs to find out where it is getting stuck.
    Regards,
    Anuj

  • OSB: Invoking multiple endpoint URIs or business service at same time

    Hi All,
    I want to route the request to two end point URIs or business services using OSB.
    Say for example, I have a BPEL which is deployed in two servers. Using this solution I have to invoke the deployed service in both servers as soon as I receive input.
    Please help.
    Thanks in Advance

    yes you can.
    1. place URIs in a xml. Save XML as a xquery resource say URICollection.xquery.
    2. assign this URICollection.xquery to a variable say URICollectionVariable.
    3. extract desired URIs using a xquery from URICollectionVariable. Two URIs can be stored inside one parent element, which can be output as result.
    4. replace business service URI with desired URI (from result) using "Routing options".
    To propagate request to two different locations, you need to use "for each" action. Run the "for loop" exactly two times, write logic for above item no.4- inside the for loop action.

  • URGENT: How to Configure Ruote to Business Service that invokes 2 methods

    Hi,
    I am using ALSB 2.6.
    Currently I am working on a project, in which i have to configure business service and proxy service.
    Now the problem which i am facing is the following :-
    I'm trying to configure my Proxy service to route to 1 Business Service which in turn invokes 2 methods.
    I want to know how can i configure this route to business service that invokes 2 methods.
    Right now, to execute/ invoke any of the method i need to invoke each method by changing manually in the rotuing flow.
    Can any one tell me how can i configure both the methods for the same business service in a single rotuing flow only.
    Presently i am configuring it in this way:
    Route to BUSINESSSERVICE invoking METHOD1.
    At the place of method 1 theres a drop box from where you select the desired method.
    I want to know how to configure both the methods in single rotuing flow so that it invokes the desired method without manually editing it each time.
    What is the best solution to this problem? I would very much appreciate any help on this!
    Regards,
    Samir

    Hi,
    You can create a pipeline pair, add one (or more stages), and inside of the stage, invoke the a service callout to your business service.
    Regards,
    Fabio Douek.
    Regards,
    Fabio Douek

Maybe you are looking for

  • Short dump when exporting to Excel

    After installing SAP Gui 7.20, I get a short dump (Message_Type_x) whenever exporting a report to Excel (XXL).    SAP Gui 7.20 Patch level 5 Windows 7 Office 2010 has anybody run into this issue or know how to resolve it?   Thank you.

  • Problem in order creation

    While i am going to create an order on a particular equipment then a message is coming as:- Activity type 106050 for cost center 11035202 in the fiscal year 2012 not valid.Why is it coming? Any help greatly appreciated.

  • Getting an error trying to update CC camera raw, download is corrupt U43M1D204

    Noticed updates pending, tried to download them, got 'failed' message for Camera Raw 9 and for Bridge CC update. Click on error and I see the following: Update Failed The download appears corrupted. Please try to download again. (U43M1D204) I am usin

  • ALV - add new fields

    Hi All, i am using REUSE_ALV_FIELDCATALOG_MERGE to populate fieldcat. the Internal table used is TB_FINAL with 20 fields. in additon ,i have to add new fields to the Fieldcat based on a custom table . if the custom table is having 3 entries , i need

  • When importing iPad photos into Aperture, I cannot import into an existing album, only create a new project.

    I dont want to create a new project for every group of photos being brought over from my iPad. My iPhone worked perfectly. I was able to choose which project/album I could import into, why would the iPad, running the same iOS, be any different?