Binding Fault invoking an axis2 webService from BPEL
Hi,
I have deployed axis2 on the OC4J application server. And then I have deployed a web service to axis2. I can access the wsdl and create the partner link in the jdeveloper. The problem appears in execution time.
When I run the BPEL process the following error appears:
<2008-08-27 14:41:20,906> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
org.collaxa.thirdparty.apache.wsif.WSIFException: [email protected]2 : Could not find binding output for operation insertOrUpdate at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.getOutputMIMEXmlPart(WSIFOperation_HTTP.java:205) at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.executeRequestResponseOperation(WSIFOperation_HTTP.java:308)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:435)
From .NET application we can invoke the web service so I think the web service is ok. Does anybody know how to solve this issue? I have been searching for a solution and I have only found questions about this..
Any help would be appreciated.
Thanks in advance,
Zaloa
Hi,
Just in case someone runs into the same problem, I live here my solution:
In may case the problem was the wsdl definition. I developed the web service in java and generated the wsdl with Maven. Automatically it generates the wsdl like this (I just copy the last section):
<wsdl:service name="tso-ws">
<wsdl:port name="tso-wsHttpSoap11Endpoint" binding="ns:tso-wsSoap11Binding">
<soap:address location="http://localhost:8080/axis2/services/tso-ws"/>
</wsdl:port>
<wsdl:port name="tso-wsHttpSoap12Endpoint" binding="ns:tso-wsSoap12Binding">
<soap12:address location="http://localhost:8080/axis2/services/tso-ws"/>
</wsdl:port>
<wsdl:port name="tso-wsHttpEndpoint" binding="ns:tso-wsHttpBinding">
<http:address location="http://localhost:8080/axis2/services/tso-ws"/>
</wsdl:port>
</wsdl:service>
The problem was the <wsdl:service name="tso-ws"> section. There were 3 port definitions with 3 different bindings but all of them have the same service location. So In the BPEL process I created the partner link using the service location.
I guess BPEL was using the http binding, so I deleted two of the por definitions and just left this in the <wsdl:service name="tso-ws"> section of the wsdl
<wsdl:service name="tso-ws">
<wsdl:port name="tso-wsHttpSoap12Endpoint" binding="ns:tso-wsSoap12Binding">
<soap12:address location="http://localhost:8080/axis2/services/tso-ws"/>
</wsdl:port>
By doing this, it works. I read in some forums that BPEL doesn't work with the http_post protocol so that's why I deleted that definition. And someone told me that it uses soap12 so that's why I deleted that definition also.
That's the way I solved it. Hope this helps.
Regards,
Zaloa
Similar Messages
-
Invoke the secured webservice from BPEL in Solaris environment
Hi All,
Can any one tell me how to invoke the secured webservice from BPEL in Solaris environment as i am able to invoke the secured web service from BPEL in windows platform(soa suite 10.1.3.4).
we have applied 10.1.3.4 patch on solaris environment but we are not able to invoke the same.
Thanks in advance
Regards,
Nagaraju .DHi Nagaraju,
Read your post.We've somewhat the similar problem as yours as we are facing some error while invoking a WS-Security secured web service from our BPEL Process on the windows platform(SOA 10.1.3.3.0).
For the BPEL process we are following the same steps as given in an AMIS blog : - [http://technology.amis.nl/blog/1607/how-to-call-a-ws-security-secured-web-service-from-oracle-bpel]
but sttill,after deploying it and passing values in it,we are getting the following error on the console :-
“Header [http://schemas.xmlsoap.org/ws/2004/08/addressing:Action] for ultimate recipient is required but not present in the message”
As you have wriiten that you've already called a secured web service in windows platform ,so if you can please help me out in this issue.
I've opened a separate thread for this to avoid confusion. :-
Error while invoking a WS-Security secured web service from Oracle BPEL..
Thanks,
Saurabh -
Facing issue in invoking an external webservice from 11G Bpel
Hi,
I am facing an issue in Invoking PIM webservice from 11G soa.. getting the following error in the invoke activity(Invoke calls PIM webservice).. the same thing used to work in 10.1.3.4 where i set username/pwd in the bpel.xml for that partnerlink. here in 11G i did it through "Configure WS policy" and setting oracle/wss_username_token_client_policy to true..
the error message is
<messages>
<input>
<PublicationService_GetBatchSystems_InputVariable>
<part name="body">
<PublicationService_GetBatchSystems>
<batchAndLang>
<BatchId>1543</BatchId>
</batchAndLang>
</PublicationService_GetBatchSystems>
</part>
<part name="header">
<ServiceBean_Header/>
</part>
</PublicationService_GetBatchSystems_InputVariable>
</input>
<fault>
<bpelFault>
<faultType>
<message>0</message>
</faultType>
<remoteFault>
<part name="summary">
<summary>InvalidHeader: Invalid or missing header in request.</summary>
</part>
<part name="detail">
<detail>javax.xml.ws.soap.SOAPFaultException: InvalidHeader: Invalid or missing header in request.</detail>
</part>
<part name="code">
<code>null</code>
</part>
</remoteFault>
</bpelFault>
</fault>
<faultType>
<message>0</message>
</faultType>
</messages>
i compared the payload from 10G and 11G the only difference i could find is the order of soap body and header is different.. is it because of this??
i checked in wsdlt the order is correctly declared (first header then body).. but whenever i am creating a variable on this Msg type.. and expanding the variable in jdev the order is getting reveresed.. not sure why?? there is no change in the flow from 10G to 11G.. apart from the migration.Thanks.. This works..
But it gets lost whenever we redeploy that process..
And of course even though I am seeing http user & http password can be configured in composite.xml.. It is not taking effect..
After redeploy, still the HTTP UserName & Password is blank.
<reference name="ABC"
ui:wsdlLocation="ABC.wsdl">
<interface.wsdl interface="http://oracle.abc/#wsdl.interface(WSDL_INTERFACE)"/>
<binding.ws port="http://oracle.abc/#wsdl.endpoint(ABC/ABCHttpPort)"
location="ABC.wsdl">
<wsp:PolicyReference URI="oracle/wss_username_token_client_policy"
orawsp:category="security" orawsp:status="enabled"/>
<wsp:PolicyReference URI="oracle/log_policy" orawsp:category="management"
orawsp:status="enabled"/>
</binding.ws>
<property name="oracle.webservices.auth.username" type="xs:string"
many="false" override="may">username</property>
<property name="oracle.webservices.auth.password" type="xs:string"
many="false" override="may">password.xxxxx</property>
</reference>
Client is interested in solving only through code not through UI..
Any thoughts..
Edited by: Raj.Sunnyvale on Mar 24, 2010 11:26 AM -
Invoking Imaging Web Service from BPEL is failing
Hi,
My Env is on latest 11g 11.1.1.8.
I am trying to invoke the Imaging Web Services (http://host:port/imaging/ws/ApplicationService?wsdl)deployed in another Weblogic Server from Bpel. When I tried to invoke this web service with out security credentials it was failing due to access issue.
I tried invoking the imaging web service by following below steps.
Added oracle/wss_http_token_client_policy for Imaging Web service Reference.
Added these properties in Composite for the reference binding as below.
<wsp:PolicyReference URI="oracle/wss_http_token_client_policy"
orawsp:category="security" orawsp:status="enabled"/>
<property name="weblogic.wsee.wsat.transaction.flowOption"
type="xs:string" many="false">SUPPORTS</property>
<property name="weblogic.wsee.wsat.transaction.version" type="xs:string"
many="false">DEFAULT</property>
<property name="oracle.webservices.auth.username" type="xs:string"
many="false" override="may">weblogicxz</property>
<property name="oracle.webservices.auth.password" type="xs:string"
many="false" override="may">welcome111</property>
<property name="httpBasicUsername">weblogicxz</property>
<property name="httpBasicPassword">welcome111</property>
But now While testing my Bpel Flow my reference is failing with below erro. Can you please help me resolving this issue.
<messages>
<input>
<Invoke1_getApplication_InputVariable>
<part name="parameters">
<getApplication>
<appNameId>
<id>2</id>
<name>CaptureImageApplication</name>
</appNameId>
<sectionFlags/>
</getApplication>
</part>
</Invoke1_getApplication_InputVariable>
</input>
<fault>
<bpelFault>
<faultType>0</faultType>
<remoteFault>
<part name="summary">
<summary>MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext] are not understood</summary>
</part>
<part name="detail">
<detail>oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext] are not understood</detail>
</part>
<part name="code">
<code>{http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand</code>
</part>
</remoteFault>
</bpelFault>Hi,
I don't think it is failing due to access issue, I think it is failing because one of the parts is NOT configured to use WS-AT (WS-Atomic Transactions)...
MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext] are not understood
Why did you add this?
<property name="weblogic.wsee.wsat.transaction.flowOption"
type="xs:string" many="false">SUPPORTS</property>
<property name="weblogic.wsee.wsat.transaction.version" type="xs:string"
many="false">DEFAULT</property>
Cheers,
Vlad -
How To : Call External Webservice from BPEL and pass SOAP Message to the WS
Hello All-
Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
<strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
<strong>2. Transform the message</strong>
<strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
I am new to Webservice integration using BPEL and would really appreciate your help.
Thanks In Advance
Regards,
DibyaHi Dharmendra,
I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
This is what I see in the TCP monitor, please note the double SOAP env:Body:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<env:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
<wsa:Metadata>
<device xmlns:hl7="urn:hl7-org:v3">
</device>
</wsa:Metadata>
</env:Header>
<env:Body>
<RCMR_IN000002NR01>
</RCMR_IN000002NR01>
</env:Body>
</RCMR_IN000002NR01>
</env:Body>
</env:Envelope>
Any help is appreciated.
Regards,
Aagaard
Edited by: Aagaard on Oct 30, 2008 8:59 PM
Should have mentioned. I am using BPEL 10.1.3.4
Edited by: Aagaard on Oct 31, 2008 8:43 AM
I have opened a new thread for this question so as to not confuse the issue more than necessary.
How many SOAP envelopes do you really need? -
Calling HTTPS webservice from BPEL
Hi All,
We have enable SSL on soa 11g and its working fine.
We have developed and deployed a process on same soa server, Now we are trying to invoke this service (process) in another BPEL process.
While developing the second BPEL process in jdev we are not getting any error but while deploying (on the same server) its throwing error.
The second process gets deployed without any error if we dont call the HTTPS webservice(first BPEL process).
Please help.
Error desc:
Error during deployment: Deployment Failed: Unable to find a WSDL that has a definition for service {http://oracle.com/sca/soapservice/TSystemOrderProcessing/TSystemOrderProcessing/receivePO}receivePO and port execute_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server..
[05:30:06 PM] Check server log for more details.
Regards,
SurendraHi Surendra,
It seems that WSDL for service receivePO is not available at the deployment time.
Below threads should help you out -
Partner Link in 11g
SOA 11g FOD Demo Deploy Issue
Regards,
Anuj -
Invoking Asynchronous Web Service from BPEL Process
Hi,
I have been working on the BPEL Process Manager for some time and now facing problem in invoking asynchronous web service from a BPEL Process. I have implemented a web service in Java using Axis but wasn't able to invoke it.
I have gone through all the meterial available on this site but couldn't get any great help.
Can some one help me in resolving this issue. A pointer to any example or sample material/tutorial will be appreciated.
thanks
FarooqI do the same thing.
Take wsdl from axis and save it somewhere.
Then you can create a standard project in Oracle BPEL PM. Create partnerlink, give a name and click on first icon to take your wsdl. It will add some needed code, you answer always yes. Then you can create receive, assign, invoke, assign and callback or similar and deploy it.
Try it through BPEL Console...
Ema -
How to invoke secure web service from BPEL in SOA 11g
In SOA 11g I have a simple bpel process in which I am invoking a secured webservice as partnerlink. The webservice which is used in bpel process is deployed in weblogic and the SSL port is enabled on weblogic server. The wsdl url starts with "https:\\hostname:port\servicename?wsdl"
But I am getting compilation errors when i compiled the BPEL code
Error(16,65): Load of wsdl "AddressBookManager.wsdl" failed
Error(19,30): Load of wsdl "https://hostname:port/DV900/AddressBookManager?wsdl" failed
Error(35,102): Cannot find Port Type "{http://oracle.e1.bssv.JP010000/}Oracle_E1_SBF_SEI_PkgBldFile_AddressBookManager" for "AddressBookManager" in WSDL Manager
Can anyone please help me out in resolving this.
Thanks,
Shameem banu.Solution is you need to import the keystore into Jdeveloper jdk first.
keytool -import -alias <name> -file <name>.pem -keystore <name>.jks -storepass <passwd>
All details in <> are your specific keystore,pwd details.
Then go to Jdeveloper/jdev/bin
add the following to
jdev.conf file
AddVMOption -Djavax.net.ssl.trustStore=path_to_keystore\keystorename.jks
AddVMOption -Djavax.net.ssl.trustStorePassword=password
Then you can create partner link for https based wsdl
Good Luck -
Invoking SWA web services from BPEL
Hi guys,
Did anyone try to invoke from BPEL PM a web service with attachment (SWA)?
I didn't find any samples in the BPEL distribution.
Any samples and suggestions are welcome.
Kindest regardsI do the same thing.
Take wsdl from axis and save it somewhere.
Then you can create a standard project in Oracle BPEL PM. Create partnerlink, give a name and click on first icon to take your wsdl. It will add some needed code, you answer always yes. Then you can create receive, assign, invoke, assign and callback or similar and deploy it.
Try it through BPEL Console...
Ema -
Trying to invoke a Java class from BPEL Proces using Java Embedding
Hi All,
I have a requirement to invoke a Java class from the BPEL process;
I am trying to import the class by "* <bpelx:exec import="+package_name.classname+"/>*.
But, while compiling, I get the following error:
"Error(19,57): Failed to compile bpel generated classes. failure to compile the generated BPEL classes for BPEL process "BPEL_PROCESS_NAME" of composite "default/COMPOSITE_NAME!1.0"
The class path setting is incorrect. Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version."
Referred the scac.log:
SAXParseException in file +project_path+\composite.xml
org.xml.sax.SAXParseException: <Line 29, Column 32>: XML-24535: (Error) Attribute 'http://www.w3.org/XML/1998/namespace:id' not expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:335)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:318)
at oracle.soa.scac.ValidationFaultUtil.validateStreamWithSchema(ValidationFaultUtil.java:146)
at oracle.soa.scac.ValidationFaultUtil.validateCompositeWithSchema(ValidationFaultUtil.java:120)
at oracle.soa.scac.ValidateComposite.validateWithSchema(ValidateComposite.java:1480)
at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:519)
at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:223)
May 19, 2010 6:46:29 PM com.collaxa.cube.CubeLogger info
INFO: LibClasspath=E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\commonj.sdo_2.1.0.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\./classes
May 19, 2010 6:46:37 PM com.collaxa.cube.CubeLogger info
INFO: validating "RHMEDIInboundProcess.bpel" ...
May 19, 2010 6:46:37 PM com.collaxa.cube.CubeLogger warn
WARNING: CubeProcessor.compileGeneratedClasses() classpath is: E:\Softwares\OracleFMW\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;E:\Softwares\OracleFMW\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;E:\Softwares\OracleFMW\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\JDeveloper\mywork\InboundEDI_RnD\parseInboundEDIXML\classes\com\onerheem\integration\EDIInboundProcess\parseInboundEDIXML.jar;;C:\JDeveloper\mywork\InboundEDI_RnD\RHMEDIInboundProcess\SCA-INF\classes;C:\JDeveloper\mywork\InboundEDI_RnD\RHMEDIInboundProcess\SCA-INF\classes;C:\JDeveloper\mywork\InboundEDI_RnD\RHMEDIInboundProcess\SCA-INF\gen-classes;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\commonj.sdo_2.1.0.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;E:\Softwares\OracleFMW\jdeveloper\..\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-common.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-exts.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-thirdparty.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel-validator.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-client.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-ext.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\soa-infra-tools.jar;E:\Softwares\OracleFMW\jdeveloper\soa\modules\oracle.soa.ext_11.1.1\./classes
Any suggestions to rectify the same?Hi,
I wud suggest you to make a jar of ur java class and include it in the project libraries of BPEL and make use of java embedded activity this way it works.
have a luk at below link:
http://niallcblogs.blogspot.com/search/label/embedded%20Java -
Calling Webservice from BPEL - Urgent
Hi,
Appreciate if anyone can let me know steps or point to some documentation on how to call an external web service from BPEL. I have this URL ( http:// testinstance/ Connect/ Customer.asmx) to use as WSDL and the two Request and Response XSD files.
I created an Asynchronous BPEL Process which created the 'client' PartnerLink and the 'recieveinput' and 'callbackClient' activities. Next I tried to create another partner link and I'm stuck here as I do not know where and how to associate the above URL as the WSDL file location.
Please help,
Thanks
-PrapoornaYou need to 'model' a little bit of processflow for this.
At the moment you created the partnerlink.
In the process you need to 'invoke' this partnerlink to call the method in the service which will check if the customer exists.
When creating the invoke in the process it will give you the option to create the input/output-variables (or input when async).
This inputvariable needs to get 'assigned' in your process. So this variable will get the value of the customerid for who you want to check if he exists.
The services comes back with some result in the outputvariable, and this variable you can use to model the rest of the process.
for example with a 'switch' which is some sort of if-then-else-construction.
or did i missunderstood you :) -
Has anybody tried to acess rest api from BPEL , if yes how?
Has anybody have done integration with HBASE databaseYes you can call Restful services from SOA 11g bu using HTTP binding that supports both GET and POST operation.
See the blog below that explains it
http://rajbpelblog.blogspot.com/2010/10/http-binding-in-soa11g.html -
Getting error connection timed out while invoking webservice from bpel.
Hi,
I am trying to call a secure webservice developed in .Net having extension .svc from the bpel service and in response i am getting error
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{summary=<summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect</summary>
I am able to call this web service from the java programme using HTTPClient by setting the username/password and soapaction in http Header but not from the BPEL process. This .Net service is synchronous in nature. I also set the proxy in opmn.xml but didn't got any success.
Please reply me ASAP. Need urgent help.
Thanks.Are you working on 11g ? if this is 11g
How are you invoking the webservice ...does it have any authentication..
If the webservice which you are invoking has basic http authentication...
1. In the composite.xml file, right click on the reference and configure WS policies. In security tab, add a security policy named"oracle/wss_http_token_client_policy"
2. Add two binding properties for the reference
(i) oracle.webservices.auth.username
(ii) oracle.webservices.auth.password
and provide the username and password for those two properties...
Just try this out...
Thanks,
N -
Invoke NTLM Authentication Based WebService from BPEL
Hi All,
I am working with SOA Suite 11.1.1.6 version deployed on Weblogic Server (Linux Based OP).
I have a requirement where i need to invoke a webservice which exposes a NTLM Based Authentication. Since this particular webservice doesn't even get loaded if we dont pass the credentials. For example :- If i hit the WSDL URL on browser, it first ask for the credentials and on success , it loads the WSDL File.
First i have tried using this WS using SOAP UI and were able to invoke it successfully , because SOAP UI can handle the NTLM Authentication Properly. And it gives us the wizard to put the credentials when we load the WSDL in SOAP UI.
But the problem comes when i use that WS using our SOA Composite. The WSDL Doesn't get loaded only , since it requires the credentials first. I am not sure how should i go ahead and invoke this. I have checked lot of blogs but none of them were useful for me.
Did anybody face this issue/ task to invoke a WS which doesn't get loaded without passing the credentials and also to invoke it through BPEL composites deployed on the weblogic server (based on Linux OP).
Please suggest!!!
Regards,
ShahHi,
I am in a similar situation.
I am able to successfully invoke the webservice via soapUI when I pass the username, password and the domain.
If I do not pass the domain name in the SOAPUI or even in SOA, I get HTTP 401, Unauthorized error.
However, I am able to set only the
oracle.webservices.auth.username a
oracle.webservices.auth.password properties when I configure it in SOA 11g.
I tried passing the domain name in the oracle.webservices.auth.username property as domainname\username. But no luck
The composite is deployed on a linux server. Please suggest/advice any pointers to resolve this NTLM authentication issue. -
Error in invoking JAX-WS webservice from a clientgen client from WL9.2
Hi,
I am getting error while trying to invoke a jax-ws webservice client from an application deployed in weblogic9.2. The client was created from clientgen task using ant and weblogic 9.2 jars. I get the error for data binding for a timestamp field. Now i understand that jax-ws is not comaptible with jax-ws but there must be some way to do that. Any pointers would be helpful. I could not get anything useful so please use thsi post for same and guide me.Try this to verify that your process on the SOA Suite is correct:
Use the tool SoapUI (open source) to execute a request based on the WSDL of your web service. If this is correct your process is working fine. SoapUI acts as a client to call your webservice via Soap.
If the call is working, then something on the webservice-client-proxy of the third-party is wrong. Try to find out what they send as soap request.
Regards,
Marc
http://orasoa.blogspot.com
Maybe you are looking for
-
I have a MacBook Air 6,2 that has been Bootcamp'd with Windows 7 x64 Pro. Everything works find except for the camera, which does not appear to work at all. In the Windows Device Manager it shows the camera as installed with a working driver, but the
-
Can I sync the order of the to-dos in Reminder?
I like to put separation lines in the Reminders list to manage my tasks, it looks like this: meeting dinner with xxx =======today======== hello world xxx yyy zzz =======tomorrow====== but I found that when I use Reminders on the iPad, it doesn't keep
-
How to build reports using discoverer (oracle 10g on winxp professional)
hello: I have an sql query which queries multiple tables. I have to build the report using oracle discoverer plus...can anybody guide me what is the path to accomplish this. the sql is following SELECT COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME, COUNT(CA
-
Options to bring data from Oracle
I need to do continuous data updates from Oracle to my SQL 2008. What are my options except linked servers. Thanks for your help.
-
Web Service model creation : no error, but no model created
Hi all, I would like to create a Web Service service model : Models-> Create Model -> Import Web Service model -> Local File System or URL I am using a local WSDL file. My NWDS version is 7.0.6. Everything seems to be OK, I don't get any error, but u