Synchronous call to process web service
Hi All,
Right now in my project I have exposed some process web services to be used by front end. But these process web service are asynchronous and does not return any output unless its an exception. Is there any other approach where front end system can contact OBPM and get response as well stating whether operation has been successfull or not. I am using OBPM 10gR3.
Thanks and Regards,
Yasmin.
Hello Yasmin:
Take a look to this thread. Maybe it can be helpfull.
how to create a process through API in BPM 11g
I hope you find what you are looking for.
isabelbernely
Similar Messages
-
Delayed response while calling the process web service
I have four managed servers in a cluster and the ip addresses are
managed_server_1 -20.20.40.21
managed_server_2 -20.20.40.22
managed_server_3 -140.20.40.23
managed_server_4 -140.20.40.24
The admin server is on 20.20.40.21
I start the managed server from command prompt using the commant
./startManagedWeblogic {name of the managed server} {admin console url} ie
i start managed_server_1 from 20.20.40.21 unix box by going to {weblogic installation}\bin
and running the following command (we have some issues with the node manager so have been using this
method)
./startManagedWeblogic managed_server_1 http://20.20.40.21:17003
similarly i start the other servers from their respestive unix boxes
managed_server_2 from the 20.20.40.22 unix box using the command ./startManagedWeblogic managed_server_2 http://20.20.40.21:17003
managed_server_3 from the 140.20.40.23 unix box using the command ./startManagedWeblogic managed_server_3 http://20.20.40.21:17003
managed_server_4 from the 140.20.40.24 unix box using the command ./startManagedWeblogic managed_server_4 http://20.20.40.21:17003
all these servers are in the cluster named BPM_cluster and the bpmengine is deployed onto this cluster
when i deploy the application to the bpmengine it gets properly deployed onto the servers
and i could see the process web services getting generated
but when i try to call these webservices for each managed server seperately
the response from managed_server_1 and managed_server_2 takes leass tha 2 secs
but the response from managed_server_3 and managed_server_4 takes about 25 secs
I am not able to figure out why us taking so long from the managed servers 3 and 4
the bpmengine ds and directory ds have the cluster as targets (I also tried to point to all the servers in the cluster even that
didnot work). I feel that there is db connectivity issue from the servers but i am not sure how to check that.
Can anyone help me with this ?
ThanksPlease make sure that your solman box meet the software prerequisit as per this note below
1483508 : Solution Manager 7.1: Root Cause Analysis pre-requisites
This will solve that ptoblem .
Best Regards
Jai Wardhan -
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,
VamshiHi,
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 -
Calling Process Web Service from another BPM project
Hi all,
Scenario: I need to launch an instance of a process in another project, running on another engine.
I figured a Process Web Service was the way to go and I am trying to invoke my Process Web Service method that creates a process. I have tried with and without passing the username token (checkbox in the Process Web Service) to no avail.
Does anyone have some sample code to do this ?
cheers
Tony
10gr3Hi Matias,
Yeah, thanks. I am testing on Studio and Enterprise (Standalone). I kinda assumed that if username token is required that the wrappers to consume the PWS would take care of that but I guess not ?
I am having problems with "None" now, on enterprise (see below). I think it is one of those when you get so into the problem you dig a big hole and cant see any way out !
Gonna switch to using Papi to launch the instances I think :-(
cheers
Tony
HTTP/1.0 500 INTERNAL SERVER ERROR
Connection: close
Content-Type: text/xml;charset=utf-8
Content-length: 1915
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:MustUnderstand</faultcode>
<faultstring>Did not understand "MustUnderstand" header(s):</faultstring>
<detail>
<ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:96)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:359)
at fuego.soaptype.AxisSoapService.invoke(AxisSoapService.java:123)
at fuego.webservices.HttpSoapListener.process(HttpSoapListener.java:206)
at fuego.http.HttpExecution$1.run(HttpExecution.java:71)
at fuego.component.Message.process(Message.java:576)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.http.HttpExecution$HttpPrincipal.processBatch(HttpExecution.java:190)
at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
</ns1:stackTrace>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">myhostname</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
after submitting:
Host: myhostname:9001
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "http://bea.com/albpm/GSR_INCR/INCRGNSAutomatic#startSession"
Content-Length: 847
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1">
<wsse:UsernameToken><wsse:Username>anonymous</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">anonymous</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header>
<soapenv:Body>
<startSession xmlns="http://bea.com/albpm/GSR_INCR/INCRGNSAutomatic">
<password xmlns="">password</password>
<user xmlns="">user</user>
</startSession>
</soapenv:Body>
</soapenv:Envelope> -
Help needed with process to call an external web service from within ABAP
Hello,
I have an understanding of how I can provision web service from within SAP so that it can be consumed by external apps.
Now, I am in need to know the, how I can call an external non-sap web service (let's say a java application) or even a public domain web service for that matter:
Is there any lay man's guide out there? which will list following step:
A sample ABAP program calling an external web service
List of all the configurations needed within SAP to make this happen (calling an external web service).
Any help will be greatly appreciated.Hi Matesh,
Please use the following command in Google : site:sdn.sap.com abap consuming web service
There is many samples of your needs on SDN.
Like this one :
http://wiki.sdn.sap.com/wiki/display/Snippets/WebServiceconsumerusingABAP-PROXY
Regards, Gilles. -
Calling DOO standard web service in ADF custom order Capture form
Hi
I am trying to call the standard DOO web service in my ADF form and I am using web service data control to call that service. But when I am dragging and drooping the method in my page with the parameters needed for that particular method and try to run the page. Its giving a null pointer exception. The main parameter for that method is _payload which wants an EBM to be passed to it.
DOO is a distributed Order Orchestration which is part of SCM fusion module. In fusion we can capture the order from different places from a legacy system from an EBS or any other application and then that captured order is passed to
DOO of fusion by calling a standard web service. But we don't have a order capture form built in ADF from where we can enter order and then pass this info to the DOO web service.
EBM is Enterprise business message,it is an xml format file which is passed to the DOO of fusion.It accept only EBM format xml in which capture order data is dere with EBM header and the data area which contains the order information.
The name of the method in web service which is called in j developer is SalesOrderOrchestrationService_pt_SubmitTransformAssignLaunch(__payload). payload is the parameter which accepts the EBM file.
The sample of an EBM or the xml which is passed to this method of web service as a payload is below.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>ALALL</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ssiER3#1</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body xmlns:ns1="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2">
<ProcessSalesOrderFulfillmentEBM xmlns="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2" xmlns:coresalesorder="http://xmlns.oracle.com/EnterpriseObjects/Core/EBO/SalesOrder/V2">
<corecom:EBMHeader xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Sender>
<corecom:ID>LEG1</corecom:ID>
<corecom:Application>
<corecom:ID>CRM</corecom:ID>
<corecom:Version>8.0</corecom:Version>
</corecom:Application>
<corecom:ContactName>Siebel contact</corecom:ContactName>
<corecom:ContactEmail>[email protected]</corecom:ContactEmail>
<corecom:ContactPhoneNumber>1234567891</corecom:ContactPhoneNumber>
</corecom:Sender>
</corecom:EBMHeader>
<coresalesorder:DataArea>
<corecom:Process responseCode="OBJECT" xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2"/>
<coresalesorder:ProcessSalesOrderFulfillment>
<corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_ID_GUID">31343933343333353331383237343632</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="OrderNumber">TEST-ALALL-2</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="OrderId">TEST-ALALL-2</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:Identification>
<coresalesorder:CurrencyCode>USD</coresalesorder:CurrencyCode>
<coresalesorder:OrderDateTime>2013-02-04T10:58:32Z</coresalesorder:OrderDateTime>
<coresalesorder:PartialShipmentAllowedIndicator/>
<coresalesorder:PricingDateTime>2013-02-04T10:58:32Z</coresalesorder:PricingDateTime>
<coresalesorder:RequestedShipDateTime/>
<coresalesorder:FulfillmentModeCode/>
<coresalesorder:ShipmentPriorityCode>NEXTDAY</coresalesorder:ShipmentPriorityCode>
<coresalesorder:TypeCode>ORDER</coresalesorder:TypeCode>
<corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Code>BOOKED</corecom:Code>
<corecom:EffectiveDateTime>2013-02-04T23:40:42</corecom:EffectiveDateTime>
</corecom:Status>
<corecom:CurrencyExchange xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:ConversionTypeCode/>
<corecom:ConversionRate/>
<corecom:ConversionRateDateTime/>
</corecom:CurrencyExchange>
<corecom:BusinessUnitReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessUnitIdentification>
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="ORGANIZATION_ID">A40A64204F0811DDBFBB6925DE4959D4</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="InventoryOrganizationId">300000001130177</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="OrganizationId">300000001130053</corecom:ID>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="OrganizationId">300000001130053</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:BusinessUnitIdentification>
</corecom:BusinessUnitReference>
<corecom:CustomerPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:PartyIdentification>
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="CUSTOMERPARTY_PARTYID_GUID">2d383037373236333033353335383233</corecom:BusinessComponentID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="AccountId">300000002605080</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:PartyIdentification>
<corecom:OrganizationName/>
<corecom:CustomerPartyAccountIdentification>
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="CUSTOMERPARTY_ACCOUNTID_GUID">2d363038363737353331313735393632</corecom:BusinessComponentID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="AccountId">300000002605080</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountIdentification>
</corecom:CustomerPartyReference>
<coresalesorder:SalesOrderLine>
<corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_LINEID_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="LineNumber">1</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="LineId">101</corecom:ID>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">88290</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:Identification>
<corecom:ParentSalesOrderLineIdentification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_LINEID_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="LineNumber">1</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="ParentLineId"/>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">88290</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:ParentSalesOrderLineIdentification>
<corecom:RootParentSalesOrderLineIdentification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_LINEID_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="LineNumber">1</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="RootParentLineId"/>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">90</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:RootParentSalesOrderLineIdentification>
<coresalesorder:SubstitutionAllowedIndicator/>
<coresalesorder:SourceTypeCode/>
<coresalesorder:PreferredGradeCode/>
<coresalesorder:CatchWeightMeasure/>
<corecom:EffectiveTimePeriod xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:StartDateTime/>
<corecom:EndDateTime/>
</corecom:EffectiveTimePeriod>
<coresalesorder:GrossWeightMeasure>0</coresalesorder:GrossWeightMeasure>
<coresalesorder:TypeCode>ORDER</coresalesorder:TypeCode>
<coresalesorder:Description>Servers</coresalesorder:Description>
<coresalesorder:OrderQuantity unitCode="EA">1</coresalesorder:OrderQuantity>
<corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Code>PENDING</corecom:Code>
</corecom:Status>
<corecom:ItemReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:ItemIdentification>
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="ITEM_ID_GUID">61</corecom:BusinessComponentID>
<corecom:ContextID/>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="ProductId">AS85008</corecom:ID>
<corecom:ContextID>300000001130177</corecom:ContextID>
</corecom:AlternateObjectKey>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="ProductId">AS85008</corecom:ID>
<corecom:ContextID>300000001130177</corecom:ContextID>
</corecom:ApplicationObjectKey>
<corecom:CustomerItemID schemeAgencyID="SEBL_01" schemeID="ProductId"/>
</corecom:ItemIdentification>
<corecom:Name/>
<corecom:TypeCode/>
<corecom:Description>Computer</corecom:Description>
</corecom:ItemReference>
<coresalesorder:FulfillmentModeCode/>
<coresalesorder:SalesOrderSchedule>
<corecom:Identification xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:BusinessComponentID schemeAgencyID="AIA_01" schemeID="SALESORDER_SCHEDULE_GUID">31373632363632373039363139343635</corecom:BusinessComponentID>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="SalesOrderScheduleNumber">1</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="SalesOrderScheduleId">101</corecom:ID>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="SEBL_01" schemeID="IntegrationId">201</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:Identification>
<corecom:ShipmentSet xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Name/>
</corecom:ShipmentSet>
<coresalesorder:ExtendedAmount currencyCode="USD">18762.00</coresalesorder:ExtendedAmount>
<coresalesorder:GrossWeightMeasure>0</coresalesorder:GrossWeightMeasure>
<coresalesorder:Description>Servers</coresalesorder:Description>
<coresalesorder:OrderQuantity unitCode="Ea">1</coresalesorder:OrderQuantity>
<coresalesorder:RequestedShipDateTime>2013-06-25T10:58:32Z</coresalesorder:RequestedShipDateTime>
<coresalesorder:ScheduledShipDateTime/>
<coresalesorder:ScheduledArrivalDateTime/>
<coresalesorder:RequestedDeliveryDateTime/>
<coresalesorder:LatestRequestedDeliveryDateTime/>
<coresalesorder:LatestRequestedShipDateTime/>
<coresalesorder:LatestRequestedShipDateTime/>
<coresalesorder:EarliestShipDateTime/>
<coresalesorder:ShipmentPriorityCode/>
<coresalesorder:FulfillmentModeCode/>
<coresalesorder:FOBPointCode/>
<coresalesorder:ModeOfTransportCode>Air</coresalesorder:ModeOfTransportCode>
<coresalesorder:ReasonCode/>
<coresalesorder:ServiceLevelCode>Next day air</coresalesorder:ServiceLevelCode>
<corecom:CarrierPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:PartyIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>10010</corecom:ID>
<corecom:ContextID>100010023895555</corecom:ContextID>
</corecom:ApplicationObjectKey>
</corecom:PartyIdentification>
</corecom:CarrierPartyReference>
<corecom:Status xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Code>PENDING</corecom:Code>
</corecom:Status>
<corecom:PaymentTerm xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Code>4</corecom:Code>
</corecom:PaymentTerm>
<corecom:CustomerPurchaseOrderShipmentReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:PurchaseOrderLineIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>Line # 1</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:PurchaseOrderLineIdentification>
<corecom:PurchaseOrderIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>PO#A1</corecom:ID>
</corecom:ApplicationObjectKey>
</corecom:PurchaseOrderIdentification>
</corecom:CustomerPurchaseOrderShipmentReference>
<corecom:UnitListPrice xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Amount currencyCode="USD">18762.00</corecom:Amount>
</corecom:UnitListPrice>
<corecom:UnitSalePrice xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:Amount currencyCode="USD">18762.00</corecom:Amount>
</corecom:UnitSalePrice>
<corecom:ShipFromPartyReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:LocationReference>
<corecom:LocationIdentification>
<corecom:ID>100010023895555</corecom:ID>
<corecom:ApplicationObjectKey>
<corecom:ID>300000001130184</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
<corecom:AlternateObjectKey>
<corecom:ID schemeAgencyID="AIA_01" schemeID="CUSTOMERPARTY_PARTYCONTACTID_GUID">300000001201066</corecom:ID>
</corecom:AlternateObjectKey>
</corecom:LocationIdentification>
</corecom:LocationReference>
</corecom:ShipFromPartyReference>
<coresalesorder:SalesOrderShipToParty xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:CustomerPartyAccountContactIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000003212320</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountContactIdentification>
<corecom:CustomerPartyAccountSiteUsageIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000003679213</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountSiteUsageIdentification>
<corecom:ShipToPartyReference>
<corecom:CustomerPartyAccountIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000002605080</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountIdentification>
</corecom:ShipToPartyReference>
</coresalesorder:SalesOrderShipToParty>
<coresalesorder:SalesOrderBillToParty xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:CustomerPartyAccountContactIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000003212320</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountContactIdentification>
<corecom:CustomerPartyAccountSiteUsageIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000003679211</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountSiteUsageIdentification>
<corecom:BillToPartyReference>
<corecom:CustomerPartyAccountIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000002605080</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountIdentification>
</corecom:BillToPartyReference>
</coresalesorder:SalesOrderBillToParty>
<coresalesorder:ShipmentInstruction/>
<coresalesorder:PackingInstruction/>
<coresalesorder:TotalAmount/>
<coresalesorder:PricingDateTime/>
<coresalesorder:PurchaseDate/>
</coresalesorder:SalesOrderSchedule>
</coresalesorder:SalesOrderLine>
<coresalesorder:SalesOrderCustomerParty xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:CustomerPartyAccountContactIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID/>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountContactIdentification>
<corecom:CustomerPartyReference>
<corecom:CustomerPartyAccountIdentification>
<corecom:ApplicationObjectKey>
<corecom:ID>300000002605080</corecom:ID>
<corecom:ContextID/>
</corecom:ApplicationObjectKey>
</corecom:CustomerPartyAccountIdentification>
</corecom:CustomerPartyReference>
</coresalesorder:SalesOrderCustomerParty>
<coresalesorder:ModeOfTransportCode/>
<coresalesorder:ServiceLevelCode/>
<coresalesorder:TotalAmount currencyCode="USD">70.94</coresalesorder:TotalAmount>
<coresalesorder:EarliestShipDateTime/>
<coresalesorder:PricingDateTime/>
<corecom:SourceDocumentReference xmlns:corecom="http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2">
<corecom:DocumentIdentification>
<corecom:ID>ShipOrderGenericProcess</corecom:ID>
</corecom:DocumentIdentification>
</corecom:SourceDocumentReference>
</coresalesorder:ProcessSalesOrderFulfillment>
</coresalesorder:DataArea>
</ProcessSalesOrderFulfillmentEBM>
</soap:Body>
</soap:Envelope>
Can I get a help on this and my question is in j developer when I make a web service data control and drag and drop that method in to my pages submit button with text box taking this EBM or xml as entry and when I submit this its giving a null pointer exception. How can I overcome this.
Regards
Satbir SinghHi,
for complex services like this the recommendation is to use a JAX-WS proxy client, put a POJO in front (wrapper) to access information and methods to expose in the application and create a POJO DC from the wrapper. This not only is more powerful and allows you to intercept data calls, it also gives you a netter option for debugging and error handling in case something fails.
Frank -
How to call a Https Web service client (partner link)
Hi,
I am trying to call a https web service and having issues with it. I have copied the server certificate into my JDeveloper truststore as well as into OC4J truststore. I have successfully deployed the application but when I initiate the process and enter input values, it throws the following exception 'Security Requirements not met - No Security header in message'
<fault>
- <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="code">
<code>
Server
</code>
</part>
- <part name="summary">
<summary>
Security Requirements not met - No Security header in message
</summary>
</part>
- <part name="detail">
<detail>
<detail>
<ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.wss.XWSSecurityException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
<message xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">Security Requirements not met - No Security header in message</message>
<ns2:stackTrace xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient" file="SecurityRecipient.java" line="738" method="createMessage"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient" file="SecurityRecipient.java" line="226" method="validateMessage"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.wss.provider.wsit.WSITServerAuthContext" file="WSITServerAuthContext.java" line="471" method="verifyInboundMessage"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.wss.provider.wsit.WSITServerAuthContext" file="WSITServerAuthContext.java" line="297" method="validateRequest"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.wss.provider.wsit.WSITServerAuthContext" file="WSITServerAuthContext.java" line="211" method="validateRequest"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.webservice.CommonServerSecurityPipe" file="CommonServerSecurityPipe.java" line="168" method="processRequest"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.webservice.CommonServerSecurityPipe" file="CommonServerSecurityPipe.java" line="129" method="process"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.helper.PipeAdapter" file="PipeAdapter.java" line="115" method="processRequest"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="595" method="__doRun"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="554" method="_doRun"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="539" method="doRun"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="436" method="runSync"/
>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.server.WSEndpointImpl$2" file="WSEndpointImpl.java" line="243" method="process"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit" file="HttpAdapter.java" line="444" method="handle"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.transport.http.HttpAdapter" file="HttpAdapter.java" line="244" method="handle"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.xml.ws.transport.http.servlet.ServletAdapter" file="ServletAdapter.java" line="135" method="handle"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.webservice.JAXWSServlet" file="JAXWSServlet.java" line="159" method="doPost"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="738" method="service"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="javax.servlet.http.HttpServlet" file="HttpServlet.java" line="831" method="service"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.ApplicationFilterChain" file="ApplicationFilterChain.java" line="411" method="servletService"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardWrapperValve" file="StandardWrapperValve.java" line="290" method="invoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardContextValve" file="StandardContextValve.java" line="271" method="invokeInternal"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardContextValve" file="StandardContextValve.java" line="202" method="invoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="632" method="doInvoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="577" method="doInvoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.WebPipeline" file="WebPipeline.java" line="94" method="invoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardHostValve" file="StandardHostValve.java" line="206" method="invok
e"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="632" method="doInvoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="577" method="doInvoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="571" method="invoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.ContainerBase" file="ContainerBase.java" line="1080" method="invoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardEngineValve" file="StandardEngineValve.java" line="150" method="invoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="632" method="doInvoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="577" method="doInvoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.StandardPipeline" file="StandardPipeline.java" line="571" method="invoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.catalina.core.ContainerBase" file="ContainerBase.java" line="1080" method="invoke"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="org.apache.coyote.tomcat5.CoyoteAdapter" file="CoyoteAdapter.java" line="272" method="service"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask" file="DefaultProcessorTask.java" line="637" method="invokeAdapter"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask" file="DefaultProcessorTask.java" line="568" method="doProcess"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask" file="DefaultProcessorTask.java" line="813" method="process"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.DefaultReadTask" file="DefaultReadTask.java" line="341" method="executeProcessorTask"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="c
om.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask" file="SSLReadTask.java" line="440" method="process"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask" file="SSLReadTask.java" line="228" method="doTask"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.TaskBase" file="TaskBase.java" line="265" method="run"/>
<ns2:frame xmlns:ns2="http://jax-ws.dev.java.net/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" class="com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread" file="SSLWorkerThread.java" line="106" method="run"/>
</ns2:stackTrace>
</ns2:exception>
</detail>
</detail>
</part>
</remoteFault>
</fault>
Any help will be appreciated. I am using JDeveloper 10.1.3.3.0.
ThanksHmm, based on error it looks like service provider expecting some security headers. Are you able to test from other utility soapUI or browser?
Regards,
Chintan -
How to call an external web service from OIM?
Hi,
I have a question on how to call an external web service from OIM within e.g. creating user process? How should it be done; through adapter and task in the process?
Any recomendations?
Thanks in advance!it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
Lets do some divide and conquer:
Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
Once this works we can start looking at the web service call.
Best regards
/Martin -
Role for calling a BPM-Web Service
Hi everybody,
which role is neccessary in order to call a BPM-Web Service? If i add the roles "BPM End User" and "Every User core Role" i can not call my Web Service. But by adding the Group "Administrators" it works.
Which role should i use?
regards,
SidCheck this
Need to start process without SAP_BPM_SuperAdmin
Anil -
MDB receive a message and then call an external web service
Title basically says it all, but I'm looking for suggestions for the best way to have a message driven bean receive a message then process it and call an external web service with the results. This seems like a straightforward problem to solve but I keep getting stuck in the deployment to weblogic when I do it my way so I'm looking for new ideas.
Basically, I have an MDB that gets deployed to WL 10.3 and receives messages just fine. Also, I have a standalone class, that runs from the command line or IDE, that can send messages to the external web service. But when I try to bring the code from the standalone class into the MDB and get it deployed, I can't get all the dependencies to resolve.
So, is there a proper (quick and easy) way to do this? Which wizard should I be using to get Workshop to create web service client so that I can use it in my MDB project? Any suggestions to tutorials?
Thanks,
MattYes BusinessService is the reference point used in OSB to call a backend provider service. So we need to configure the business service based on the external service (they can be http based, jms based, etc ..)
In your case I am assuming it is a http based web service. So below are the steps to be done:
1. Create a business service (if you dont have a wsdl then create it as "Any soap type" else upload the wsdl as a wsdl resource and then use it) and configure the url of the business service with the URL of the external service you want to invoke.
2. From the proxy flow, have a service callout action and select the business service. Then configure the appropriate body and header variables.
3. Then test the proxy service from the test console, you should be able to see the response from the external service as a part of the service callout response.
Let me know if you still have issues.
Thanks,
Patrick -
A failure occured while calling Diagnostics Setup web service
Hi Guys.
When performing the Automatic Activities of the Solution Manager 7.1 Basic Configuration, on one step you can execute the Diagnostics Configuration.
When clicking on the details it shows the following message.
SOAP:1.007 SRT: Unsupported xstream found: ("HTTP Code 401 : Unauthorized")
Error when processing Web service call
I tried running the configuration a user having SAP_ALL, also j2ee_admin, so no clue where is the authorization fault.
Any ideas what is causing this Authorization Error?
I also tried to access SMD manually on saphost:8000/SMD but it says Root Cause Analysis Setup has been moved and Call transaction SOLMAN_SETUP from the SAP GUI to configure SAP Solution Manager.
Is there any url to access to SMD directlty without going thru SOLMAN_SETUP since i dont see where is the url.
Thanks!Please make sure that your solman box meet the software prerequisit as per this note below
1483508 : Solution Manager 7.1: Root Cause Analysis pre-requisites
This will solve that ptoblem .
Best Regards
Jai Wardhan -
Calling an External Web-Service Inside an Exception Flow
Hi all,
Is it a good practice in OBPM to call an External Web-Service when the process enters inside a System Exception Flow?Your challenge will be when you throw an exception inside the Exception handler chain. You can't catch an exception (other than in a try/catch block in the logic of an Automatic activity) inside an Exception handler chain.
Sorry - not a good practice.
Dan -
Calling a java web service from R/3 6.0
hi experts,
can anyone please tell me how to call a java web service from R/3 6.0?
i found some answers to this question but all those were for 6.4 or 6.2 but not for 6.0.
i want to generate a outbound flow from ERP system. so please tell me something about web service in that context.
Thanks in advance,
Sagar.Hi!!!
I would do this scenario as a synchronous one:
[SAP R/3][ABAP proxy objects] <-> [XI]<->[SOAP Adapter]<--->[external java app]
In your ABAP transaction you will have to execute ABAP proxy method to send a message to XI. If it's not your transaction, you can use user-exit.
BTW, I have an experience with XI 2.0, not with 3.0, so I used a XI 2.0 terminology.
Regards,
Andrzej Filusz -
How to call a secure web service via XAI Sender in CC&B
Hi All,
I want to a call a secure web service from CC&B through out bound message. I have configured the calling WSDL in XAI Sender. The wevservice is secured one.I tried to call it by configuring user name and password in XAI sender context.But still i am not able to call the service.
Can anybody help me how to over come this issue ??
I have cretaed the same post under utilities,but i am not able reply it.
I am using HTTPSNDR as XAI class.
Thanx in advance.
Regards
sunilAre you getting any errors? What type of XAI Class are you using?
One thing I've noticed is that if you are making changes to the XAI Sender you will have to restart the environment before the changes can take effect.
Also, if you are using RTHTTPSNDR as XAI Class you may have to include the HTTP Method - Post in the context.
Hope this helps.
Regards,
Philip -
How to call a SAPME web service from MII
Dears,
How can I call a SAPME web service from MII such as PlaceFutureHold?
By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
Thanks!Hi,
I can config the SAPME web service ItemServiceService
I used Config Links to assign values in request ItemByBasicDataQuery_sync, such as material, revision, site.
But get a almost empty response ItemByBasicDataResponse_sync, I wrote both web service request and response in file as below.
What did I missed? Thanks!
request:
<?xml version="1.0" encoding="UTF-8" ?>
- <ItemByBasicDataQuery_sync xmlns="http://sap.com/xi/ME">
- <ItemByBasicDataQuery>
<Item>MA1</Item>
<Revision>A</Revision>
- <SiteRef>
<Site>HP</Site>
</SiteRef>
</ItemByBasicDataQuery>
</ItemByBasicDataQuery_sync>
response:
<?xml version="1.0" encoding="UTF-8" ?>
- <ItemByBasicDataResponse_sync xmlns="http://sap.com/xi/ME">
- <Item>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
<ItemType>K</ItemType>
<IncrementBatchNumber>S</IncrementBatchNumber>
<LotSize>0.00</LotSize>
- <StatusRef>
<Status languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</StatusRef>
<EffectivityControl>R</EffectivityControl>
<Description languageCode="" />
<UnitOfMeasure languageCode="" />
<AssignSerialAtRelease>false</AssignSerialAtRelease>
- <AssyDataTypeRef>
<AssyDataType languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</AssyDataTypeRef>
- <InventoryAssyDataTypeRef>
<AssyDataType languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</InventoryAssyDataTypeRef>
- <RemovalAssyDataTypeRef>
<AssyDataType languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</RemovalAssyDataTypeRef>
<CreateTrackableSFC>I</CreateTrackableSFC>
- <BomRef>
<Bom />
<Revision />
<BomType>S</BomType>
- <SiteRef>
<Site />
</SiteRef>
</BomRef>
- <RouterRef>
- <SiteRef>
<Site />
</SiteRef>
<Router />
<Revision />
<RouterType>D</RouterType>
</RouterRef>
<CurrentRevision>true</CurrentRevision>
<DrawingName languageCode="" />
<EffectiveEndDate daylightSavingTimeIndicator="true" timeZoneCode="" />
<EffectiveEndSequence unitCode="">0.00</EffectiveEndSequence>
<EffectiveStartDate daylightSavingTimeIndicator="true" timeZoneCode="" />
<EffectiveStartSequence unitCode="">0.00</EffectiveStartSequence>
- <ItemGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<ItemGroup languageCode="" />
</ItemGroupRef>
- <MaskGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<MaskGroup languageCode="" />
</MaskGroupRef>
<MaximumUsage unitCode="">0.00</MaximumUsage>
<Panel>true</Panel>
<PreAssembled>true</PreAssembled>
<QuantityMultiplier>0.00</QuantityMultiplier>
<QuantityRestriction>W</QuantityRestriction>
- <SelectorActivityRef>
<Activity languageCode="" />
</SelectorActivityRef>
<SelectorNote languageCode="" />
- <TransferItemGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<ItemGroup languageCode="" />
</TransferItemGroupRef>
<UseCompFromDrawing>true</UseCompFromDrawing>
<IsCollector>true</IsCollector>
<CollectParentSerial>true</CollectParentSerial>
<RequiresSerialNumberChange>true</RequiresSerialNumberChange>
- <DocumentLinkList>
- <DocumentLink>
- <DocumentRef>
- <SiteRef>
<Site />
</SiteRef>
<Document />
<ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
<Revision />
</DocumentRef>
- <DocumentContext>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
- <RouterRef>
- <SiteRef>
<Site />
</SiteRef>
<Router />
<Revision />
<RouterType>D</RouterType>
</RouterRef>
<OperationRef />
- <SiteRef>
<Site />
</SiteRef>
</DocumentContext>
<Sequence unitCode="">0.00</Sequence>
</DocumentLink>
</DocumentLinkList>
- <ItemLocationList>
- <ItemLocation>
<Location languageCode="" />
<Description languageCode="" />
<Sequence unitCode="">0.00</Sequence>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
</ItemLocation>
</ItemLocationList>
- <ItemAlternateList>
- <ItemAlternate>
- <AlternateItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</AlternateItemRef>
<Sequence unitCode="">0.00</Sequence>
<Substitute>true</Substitute>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
- <ItemGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<ItemGroup languageCode="" />
</ItemGroupRef>
<RequiredSubstitute>true</RequiredSubstitute>
<ValidAssembly languageCode="" />
<ValidEnd daylightSavingTimeIndicator="true" timeZoneCode="" />
<ValidRevision />
<ValidStart daylightSavingTimeIndicator="true" timeZoneCode="" />
</ItemAlternate>
</ItemAlternateList>
- <ItemDPMOList>
- <ItemDPMO>
<Opportunities unitCode="">0.00</Opportunities>
- <OperationRef>
- <SiteRef>
<Site />
</SiteRef>
<Operation />
<Revision />
</OperationRef>
<ForAllOperations>true</ForAllOperations>
<ForAllDpmoCategories>true</ForAllDpmoCategories>
- <DpmoCategoryRef>
- <SiteRef>
<Site />
</SiteRef>
<DpmoCategory>TERMINATION</DpmoCategory>
</DpmoCategoryRef>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
</ItemDPMO>
</ItemDPMOList>
- <TransferDataList>
- <TransferData>
- <TransferParent>
<ShopOrderRef />
- <ItemGroupRef>
- <SiteRef>
<Site />
</SiteRef>
<ItemGroup languageCode="" />
</ItemGroupRef>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
</TransferParent>
<TransferType>N</TransferType>
- <TransferSite>
<Site />
</TransferSite>
- <AlarmTypeConfigRef>
- <SiteRef>
<Site />
</SiteRef>
<AlarmType languageCode="" />
<TypeSpecific>true</TypeSpecific>
</AlarmTypeConfigRef>
<DefaultChoice>true</DefaultChoice>
- <ExportTemplateRef>
<TransferDataType>S</TransferDataType>
- <SiteRef>
<Site />
</SiteRef>
<TemplateName />
</ExportTemplateRef>
<ReceiveRequired>true</ReceiveRequired>
</TransferData>
</TransferDataList>
- <ItemShopOrderTypeList>
- <ItemShopOrderType>
- <ShopOrderTypeRef>
- <SiteRef>
<Site />
</SiteRef>
<OrderType />
</ShopOrderTypeRef>
- <RouterRef>
- <SiteRef>
<Site />
</SiteRef>
<Router />
<Revision />
<RouterType>D</RouterType>
</RouterRef>
- <ItemRef>
<Item />
<Revision />
- <SiteRef>
<Site />
</SiteRef>
</ItemRef>
</ItemShopOrderType>
</ItemShopOrderTypeList>
- <CustomFieldList>
- <CustomField>
<Attribute languageCode="" />
<Value languageCode="" />
<Description languageCode="" />
</CustomField>
</CustomFieldList>
<CreatedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
<ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
<HoldId unitCode="">0.00</HoldId>
<LastReleasedDate daylightSavingTimeIndicator="true" timeZoneCode="" />
- <OriginalStatusRef>
<Status languageCode="" />
- <SiteRef>
<Site />
</SiteRef>
</OriginalStatusRef>
</Item>
</ItemByBasicDataResponse_sync>
Maybe you are looking for
-
Hello, I recently just bought a I-pod nano(3rd generation) and everytime i plug my I-pod in the computer it wont come up in itunes but shows under my computer and a message comes up called _IpodService Module_ saying that i-pod service module has eco
-
Hi, can anyone help me to know, is there any certification is available for 11g Oracle ADF developers like SCJP for java developers. If available pls guide me what is the procedure to write the exam, exam fees, syllabus, eligibility. Thanks, Sankari
-
Photoshop Elements 6 to 8 Upgrade?
Please help and advise. I currently have Photoshop Elements 6. Is there an upgrade to Photoshop Elements 8, or something highter than 6? Or do I need to purcahse a new Photoshop 8 program altogether? If so, what becomes of PSE6?
-
Stopping JTabbedPane tab change.
I was wondering if it was possible to stop tab changes on a JTabbedPane. Right now I am creating an applet with a JTabbedPane and if you click on another tab of the JTabbedPane I am able to capture the event of the change and perform an action using
-
Since I upgraded to Firefox 4 last weekend, the add-ons page keeps opening in a new tab - usually when I first launch Firefox but also when I visit other websites.