Odd runtime binding fault
I'm getting the following runtime binding error exception:
<bindingFault>
<part name="code" >
<code>GenericError</code>
</part>
<part name="summary" >
<summary>Failed get wsdl service definition. Failed to get a WSDL service that support the portType "{http://xmlns.oracle.com/prefixer}prefixerPT" in WSDL definition "{http://xmlns.oracle.com/prefixer}prefixer". Please verify that WSDL portType "{http://xmlns.oracle.com/prefixer}prefixerPT" is supported by a service in WSDL file. </summary>
</part>
</bindingFault>
Here's the prefixer.wsdl file. As far as I can tell, prefixerPT is supported. Any idea what's wrong?
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="prefixer"
targetNamespace="http://xmlns.oracle.com/prefixer"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:client="http://xmlns.oracle.com/prefixer"
>
<types>
<schema attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/prefixer"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="beforePrefixT">
<complexType>
<sequence>
<element name="pre" type="string"/>
<element name="base" type="string"/>
</sequence>
</complexType>
</element>
<element name="afterPrefixT">
<complexType>
<sequence>
<element name="output" type="string"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="prefixRequestM">
<part name="input" element="client:beforePrefixT"/>
</message>
<message name="prefixResponseM">
<part name="output" element="client:afterPrefixT"/>
</message>
<portType name="prefixerPT">
<operation name="doPrefix">
<input message="client:prefixRequestM"/>
<output message="client:prefixResponseM"/>
</operation>
</portType>
<plnk:partnerLinkType name="prefixer">
<plnk:role name="prefixRequester">
<plnk:portType name="client:prefixerPT"/>
</plnk:role>
<plnk:role name="prefixReplier">
<plnk:portType name="client:prefixerPT"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
if the wsdl from above is the wsdl you try to consume (aka invoke) from your bpel process then it's understandable - as it is abstract .. as runtime you need to have the concrete wsdl andy - with a port and a service, telling bpel what it should bind to ..
if this is the case - point the bpel partnerlink to the concrete wsdl
hth clemens
Similar Messages
-
Binding fault vs Runtime fault
Hi,
I am trying to do a http post from a bpel process and I want to retry if I get
connection errors. When I tried running this with invalid URL I am getting
a 'connection refused' but it is a binding fault and not runtime fault. I am assuming
this is the reason that 'retry' configuration is not working. Here are the entries
in bpel.xml
<partnerLinkBinding name="PartnerLink_1">
<property name="wsdlLocation">myService.wsdl</property>
<property name="retryMaxCount">5</property>
<property name="retryInterval">60</property>
</partnerLinkBinding>
So What decides whether it is a binding fault or a runtime fault? Is there anyway
to get this as a runtime fault instead? If not what is the right way to do retry in
this scenario?
Any information will be of great help
Thanks
RajI believe retry only works when there is a runtime fault. As for testing the process you can explicitly throw runtime exception using throw activity for test purpose.
Dipal -
DB Adapter Binding Fault Not Working
Hi,
I am trying to run the application "InsertWithCatch" bpel sample in 10.1.3.1 and after testing it's always generating the same exception as below for any Database error:
javax.transaction.RollbackException: Transaction has been marked for rollback:.
What might the possible reason that binding fault is not getting generated at rutime when I am doing a duplicate row insertion?
Thanks.Hi,
I have increased the domain Logging level and this is the actual stack trace that is getting generated:
While trying to do an insert:-
Caused by: ORABPEL-11616
DBWriteInteractionSpec Execute Failed Exception.
insert failed. Descriptor name: [InsertWithCatch1.Movies]. [Caused by: ORA-00001: unique constraint (SOADEMO.MOVIES_PK1) violated
Caused by Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: ORA-00001: unique constraint (SOADEMO.MOVIES_PK1) violated
Error Code: 1.
at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:369)
at oracle.tip.adapter.db.exceptions.DBResourceException.outboundWriteException(DBResourceException.java:410)
at oracle.tip.adapter.db.DBInteraction.executeOutboundWrite(DBInteraction.java:933)
at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:211)
at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:480)
... 87 more
Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: ORA-00001: unique constraint (SOADEMO.MOVIES_PK1) violated
Binding fault raised as expected:-
<2008-03-19 13:45:18,468> <DEBUG> <default.collaxa.cube.engine> <bpel.insertwithcatch.BPEL_BIN$$BPELC_BpInv2::perform> error thrown
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
While performing a merge:-
org.collaxa.thirdparty.apache.wsif.WSIFException: file:/D:/soasuiteproduct/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_InsertWithCatch_1.0_4b0c7547e53123fc55dd2a1a4c59a472.tmp/InsertWithCatch1.wsdl [ InsertWithCatch1_ptt::merge(MoviesCollection) ] - WSIF JCA Execute of operation 'merge' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore. [Caused by: Transaction has been marked for rollback: null]
; nested exception is:
ORABPEL-11622
Could not create/access the TopLink Session.
Database adapter runtime platform classname is:-oracle.toplink.platform.database.Oracle9Platform
What can be the possile fixture to above problem?
Please advice as I am have to implement the error handling strategy to an actual Case Study implementation.
Thanks -
Runtime binding of JMS object(Queue, COnnection Factory)
I want to knwo whether runtime binding the JMS Objects(Connection Factory & Destinations)
is possible in WebLogic server?
According to Weblogic it only binds JMS Object at the startup of the server using
a Startup class?
Thanks a millionDestinations can be created dynamically.
check:
http://edocs.bea.com/wls/docs61/jms/implement.html#1189112
viswa
"Rakesh Jaiswal" <[email protected]> wrote:
>
I want to knwo whether runtime binding the JMS Objects(Connection Factory
& Destinations)
is possible in WebLogic server?
According to Weblogic it only binds JMS Object at the startup of the server
using
a Startup class?
Thanks a million -
How to simulate Binding fault in OSB
1. Created proxy service based on a port in WSDL
2. Created Business serive
3. Proxy service invokes BS through route node.
Tried below options to get binding fault.
1. gave invalid end point URL ( invlaid servlet-context ) IP and port are valid
2. gave URL of service which is based on a different WSDL
In above cases I got BEA-380000 . In below link ther is a error code for binding BEA-382103 : General binding error while processing outbound response.I would like to know when this error code will be raised.
http://download.oracle.com/docs/cd/E13171_01/alsb/docs25/consolehelp/errorcodes.htmlHi,
could not dispatch message because there is no active transaction.Are you trying to have OSB transaction propagated to BPEL? If that's the case you need to check this:
1. On the composite.xml you have to add the property transaction=required for yor BPEL
2. On the OSB proxy server you need transaction required box checked (message handling)
3. On the service callout (or publish, or route) for your BPEL you need to add Routing Options Qos = Exactly-once
Hope this helps...
Cheers,
Vlad -
Do I need to cleanup runtime binding container and iterators?
If I create a runtime binding container and iterator in a JSF session bean as follows:
FacesContext facesContext = FacesContext.getCurrentInstance();
ValueBinding valueBinding = facesContext.getApplication().createValueBinding("#{data}");
BindingContext bindingContext = (BindingContext)valueBinding.getValue(facesContext);
// To create JUIteratorBinding, we need the following objects
DCDataControl dataControl = bindingContext.findDataControl("MyDataControlName");
ApplicationModule appModule = (ApplicationModule)dataControl.getDataProvider();
DCBindingContainer bindingContainer = new DCBindingContainer();
// Create dynamic iterator. Need to set bindingContainer otherwise executeQuery throws exception
JUIteratorBinding iterator = new JUIteratorBinding(bindingContext, dataControlName, "MyViewObjectName", "MyIteratorName", -1);
iterator.setBindingContainer(bindingContainer);....do I have to later clean down the iterator and binding container from the data control to release the memory (and what calls do I need to make), or once the objects fall out of scope in my code are they marked for GC?
CM.
PS. JDev 10.1.3.1, ADF BC and JSFHi Steve, thanks for the follow up.
I'm coding a dynamic menu <af:page> control that maps to the MenuTreeModelAdapter (session bean) as detailed in the JDev 4GL/Forms guide.
I've made a change that instead of loading the menu items from the hardcoded faces-config.xml file, they're actually sourced from the database via the code above, which is placed in the MenuTreeModelAdapter constructor. As the <af:page> tag exists on a number of pages, and thus the MenuTreeModelAdapter may be instantiated for the first time from a number of different locations, I can't hard-code the binding container or iterator into any single pageDef file. Thus I dynamically construct it in the constructor when the session bean is created for each user. I require a session bean as the menu items are different for each user.
However I'm concerned once I've created the binding container and iterator, that even though the session bean may become invalidated, the 2 binding layer constructs may remain, consuming resources.
Thanks for your assistance.
CM. -
Binding Fault when using http-POST
Hi all,
i have again a binding fault in my process. When i use a http-GET binding for the invoked webservice, the process works well. But when i use a POST-binding instead of the GET in the service-wsdl i get the following binding fault:
<bindingFault>
<part name="summary" >
<summary>[email protected]9 : Could not invoke 'WFS_GetCapOP'; nested exception is: java.io.IOException: Content-Type `UTF-8;charset=ISO-8859-1' is not a text type</summary>
</part>
<part name="detail" >
<detail>java.io.IOException: Content-Type `UTF-8;charset=ISO-8859-1' is not a text type</detail>
</part>
</bindingFault>
Does anyone know, where the problem may be? Here's the wsdl:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:aw="http://www.example.org/WFS_gesamt/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.example.org/WFS_gesamt/" name="WFS_gesamt">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/WFS_gesamt/">
<xsd:element name="GetCapOut" nillable="true" type="xsd:anyType"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="GetCapabilitiesOut">
<wsdl:part name="GetCapabilities_response" element="aw:GetCapOut"/>
</wsdl:message>
<wsdl:message name="GetCapabilitiesIn">
<wsdl:part name="request" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="GetCapabilitiesPT">
<wsdl:operation name="WFS_GetCapOP">
<wsdl:input message="aw:GetCapabilitiesIn"/>
<wsdl:output message="aw:GetCapabilitiesOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="HTTPPostGetCap_Binding" type="aw:GetCapabilitiesPT">
<http:binding verb="POST"/>
<wsdl:operation name="WFS_GetCapOP">
<http:operation location="/geoserver/wfs"/>
<wsdl:input>
<http:urlEncoded/>
</wsdl:input>
<wsdl:output>
<mime:mimeXml part="GetCapabilities_response"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WfsService">
<wsdl:port name="GetCapabilitiesPT" binding="aw:HTTPPostGetCap_Binding">
<http:address location="http://localhost:8080"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
rg.
Alliwell the error msg is correct ..
i would expect content type to be something like text/xml ....
can you trace the message that is generated ..
thank you.
clemens -
Wht is Remote Fault and binding Fault?
Hi All,
wht is a Remote Fault and Binding Fault. When these Faults occur.
can any one explain these,
<Action id="aia-ora-java">
<javaAction className="oracle.apps.aia.core.eh.BPELJavaAction" defaultAction="ora-rethrow-fault">
<returnValue value="REPLAY" ref="ora-terminate"/>
<returnValue value="RETRHOW" ref="ora-rethrow-fault"/>
<returnValue value="ABORT" ref="ora-terminate"/>
<returnValue value="RETRY" ref="aia-ora-retry"/>
<returnValue value="MANUAL" ref="ora-human-intervention"/>
</javaAction>
wht happens when at rethrow and wht happens at retry?
I got confused understanding the AIA Error Handling? can any one explain on this?Please refer to this link to understand BPEL Faults, http://www.oracle.com/technology/products/ias/bpel/htdocs/orabpel_technotes.tn007.html
regards
Rohit -
Binding fault in SOA composite
Hi all,
we are having trouble with a soa composite wich has 1 web service and 3 jca db adapters.
After deployment, only the first time the web service is consumed all is ok and the ws client receive the response (some data from db), but starting from the second intent we obtain the following error:
<messages><input>
<InvokeConsDeCuentasPorIdentificacion_ConsDeCuentasPorIdentificacion_InputVariable><part name="InputParameters" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/FB_PKG/NAOS_PQCON_DOM_CUENTAS/PRCONCUENTASPORIDENTIFICACION/">
<PVTIPODEIDENTIFICACION>ced</PVTIPODEIDENTIFICACION>
<PVIDENTIFICACION>0914390612</PVIDENTIFICACION>
</InputParameters></part></InvokeConsDeCuentasPorIdentificacion_ConsDeCuentasPorIdentificacion_InputVariable></input><fault>
<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'ConsDeCuentasPorIdentificacion' failed due to: Stored procedure invocation error.
Error while trying to prepare and execute the NAOS_PQCON_DOM_CUENTAS.PRCONCUENTASPORIDENTIFICACION API.
An error occurred while preparing and executing the NAOS_PQCON_DOM_CUENTAS.PRCONCUENTASPORIDENTIFICACION API. Cause: java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00201: identifier 'NAOS_PQCON_DOM_CUENTAS.PRCONCUENTASPORIDENTIFICACION' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Check to ensure that the API is defined in the database and that the parameters match the signature of the API. This exception is considered not retriable, likely due to a modelling mistake. To classify it as retriable instead add property nonRetriableErrorCodes with value "-6550" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers.
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
</summary></part><part name="detail"><detail>ORA-06550: line 1, column 7:
PLS-00201: identifier 'NAOS_PQCON_DOM_CUENTAS.PRCONCUENTASPORIDENTIFICACION' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
</detail></part><part name="code"><code>6550</code></part></bindingFault></bpelFault></fault><faultType>
<message>0</message></faultType></messages></details>
The oracle package and sp exist and are compiled without errors, and the user has the rights to execute it.
Thank you.
Efren.Hi Kevin,
Thanks for the idea!!
Just wanted to check if there is a way to set the variable from within the soa composite with the error message which can then be displayed on OIM UI. Like if there is any error i.e., if we try to assign a task to the user who is not present in OIM, the error gets displayed and the status of the task is shown as "ALERTED" . Is it possible to achieve the similar behaviour with custom errors!!
Thanks,
Hrushi -
Hi all,
I am trying to execute my BPEL process.My BPEL process gets successfully compiled and deployed on BPEL engine,but I am trying to create an instance of this process,I am gettting binding error
<bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>GenericError</code></part><part name="summary"><summary>Failed get wsdl service definition.
Failed to get a WSDL service that support the portType "{http://www.globus.org/namespaces/examples/core/MathService_instance}MathPortType" in WSDL definition "{http://www.globus.org/namespaces/examples/core/MathService_instance}MathService".
Please verify that WSDL portType "{http://www.globus.org/namespaces/examples/core/MathService_instance}MathPortType" is supported by a service in WSDL file.
</summary></part></bindingFault>
My WSDL is running on a different machine,on a different container.The code of my WSDL service is as follows
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="MathService" targetNamespace="http://www.globus.org/namespaces/examples/core/MathService_instance" xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd" xmlns:tns="http://www.globus.org/namespaces/examples/core/MathService_instance" xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" xmlns:wsdlpp="http://www.globus.org/namespaces/2004/10/WSDLPreprocessor" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:porttype="http://www.globus.org/namespaces/examples/core/MathService_instance" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
<wsdl:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl" location="../../wsrf/properties/WS-ResourceProperties.wsdl"/>
<wsdl:types>
<xsd:schema targetNamespace="http://www.globus.org/namespaces/examples/core/MathService_instance" xmlns:tns="http://www.globus.org/namespaces/examples/core/MathService_instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing" schemaLocation="../../ws/addressing/WS-Addressing.xsd"/>
<!-- REQUESTS AND RESPONSES -->
<xsd:element name="add" type="xsd:int"/>
<xsd:element name="addResponse">
<xsd:complexType/>
</xsd:element>
<xsd:element name="subtract" type="xsd:int"/>
<xsd:element name="subtractResponse">
<xsd:complexType/>
</xsd:element>
<xsd:element name="getValueRP">
<xsd:complexType/>
</xsd:element>
<xsd:element name="getValueRPResponse" type="xsd:int"/>
<!-- RESOURCE PROPERTIES -->
<xsd:element name="Value" type="xsd:int"/>
<xsd:element name="LastOp" type="xsd:string"/>
<xsd:element name="MathResourceProperties">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" ref="tns:Value"/>
<xsd:element maxOccurs="1" minOccurs="1" ref="tns:LastOp"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SubtractOutputMessage">
<wsdl:part name="parameters" element="tns:subtractResponse"/>
</wsdl:message>
<wsdl:message name="GetValueRPInputMessage">
<wsdl:part name="parameters" element="tns:getValueRP"/>
</wsdl:message>
<wsdl:message name="SubtractInputMessage">
<wsdl:part name="parameters" element="tns:subtract"/>
</wsdl:message>
<wsdl:message name="AddInputMessage">
<wsdl:part name="parameters" element="tns:add"/>
</wsdl:message>
<wsdl:message name="AddOutputMessage">
<wsdl:part name="parameters" element="tns:addResponse"/>
</wsdl:message>
<wsdl:message name="GetValueRPOutputMessage">
<wsdl:part name="parameters" element="tns:getValueRPResponse"/>
</wsdl:message>
<wsdl:portType name="MathPortType" wsrp:ResourceProperties="tns:MathResourceProperties">
<wsdl:operation name="add">
<wsdl:input message="tns:AddInputMessage"/>
<wsdl:output message="tns:AddOutputMessage"/>
</wsdl:operation>
<wsdl:operation name="subtract">
<wsdl:input message="tns:SubtractInputMessage"/>
<wsdl:output message="tns:SubtractOutputMessage"/>
</wsdl:operation>
<wsdl:operation name="getValueRP">
<wsdl:input message="tns:GetValueRPInputMessage"/>
<wsdl:output message="tns:GetValueRPOutputMessage"/>
</wsdl:operation>
<wsdl:operation name="GetResourceProperty">
<wsdl:input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse" wsa:Action="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourcePropertyResponse"/>
<wsdl:fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
<wsdl:fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MathPortTypeSOAPBinding" type="porttype:MathPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="add">
<soap:operation soapAction="http://www.globus.org/namespaces/examples/core/MathService_instance/MathPortType/addRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="subtract">
<soap:operation soapAction="http://www.globus.org/namespaces/examples/core/MathService_instance/MathPortType/subtractRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getValueRP">
<soap:operation soapAction="http://www.globus.org/namespaces/examples/core/MathService_instance/MathPortType/getValueRPRequest"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetResourceProperty">
<soap:operation soapAction="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="InvalidResourcePropertyQNameFault">
<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
</wsdl:fault>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault name="ResourceUnknownFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<plnk:partnerLinkType name="MathService">
<plnk:role name="MathServiceProvider">
<plnk:portType name="tns:MathPortType"/>
</plnk:role>
</plnk:partnerLinkType>
</wsdl:definitions>
Please suggest me any possible reasons of the error.
Thanks
Regards
Prateek Jain
DA-IICT
Gandhinagar(Gujarat)
IndiaI am facing a similar problem. Please let me know if you have got a resolution for the error.
Thanks -
Hello, I need you to expand on an aspect of the BankTransferFlow demo. Specifically, the way faults are handled. When an exception is raised, the process catches the fact that a user defined exception has occurred, then copies a literal into a fault variable. How can this be exanded so that the variables within the exception can be inspected and copied by the process?
For example, the message in the wsdl is defined as follows, with NotEnoughBalanceExceptionType being defined as an xs:any type.
<message name="NotEnoughBalanceFaultMessage">
<part name="payload" type="tns:NotEnoughBalanceExceptionType"/>
</message>
So, when the error is thrown, within the ejb code,
if( curBalance < amount) throw new NotEnoughBalanceException(accountId, curBalance, amount);
An instance of NotEnoughBalanceException is created,
public class NotEnoughBalanceException extends Exception {
private String accountId;
private double balance;
private double amount;
NotEnoughBalanceException(String accountId, double balance, double amount)
this.setAccountId( accountId );
this.setAmount( amount );
this.setBalance( balance );
How do I model the wsdl and bpel code to access the 3 variables from within the BPEL flow at runtime?
Thanks.Hello guys,
did you manage to get a patch for your issue?
We have the same one here, a FabricInvocationException at the BPEL layer,
and in the logs
java.lang.ClassCastException: [B cannot be cast to com.bea.wli.sb.transports.client.SOAMessage
at com.bea.wli.sb.transports.direct.OSBDirectConnection.invoke(Unknown Source)
at com.bea.wli.sb.transports.direct.OSBDirectConnection.request(Unknown Source)
[ I use SOA Suite 11.1.1.5 ]
thanx
ydes -
Direct binding faults getting FabricInvocationException
We have two BPEL composites. When one calls the other using SOAP, the caller receives a correct fault, but when I change to direct binding, the fault type is lost and I get a FabricInvocationException instead.
The called composite returns this fault:
<FaultVar>
<part name="fault">
<PInitWorkflowTransactionFault>
<nppTxId>
<nppTransactionId>633919050</nppTransactionId>
<nppTimestamp>2011/06/13 17:53:14 GMT</nppTimestamp>
<nppIsRetryFlag>false</nppIsRetryFlag>
</nppTxId>
<clientTxId>
<clientUserId>XYZ</clientUserId>
<transactionId>100001</transactionId>
<isRetry>false</isRetry>
</clientTxId>
<error>
<errorClass>1</errorClass>
<errorCode>10221</errorCode>
<systemType>WorkflowManager-ProvInit</systemType>
<errorMessage>Dummy error message</errorMessage>
</error>
</PInitWorkflowTransactionFault>
</part>
</FaultVar>In the SOAP version, caller sees this, which is correct:
<bpelFault>
<faultType>1</faultType>
<WFMFault>
<part name="fault">
<PInitWorkflowTransactionFault>
<nppTxId>
<nppTransactionId>633919050</nppTransactionId>
<nppTimestamp>2011/06/13 17:53:14 GMT</nppTimestamp>
<nppIsRetryFlag>false</nppIsRetryFlag>
</nppTxId>
<clientTxId>
<clientUserId>XYZ</clientUserId>
<transactionId>100001</transactionId>
<isRetry>false</isRetry>
</clientTxId>
<error>
<errorClass>1</errorClass>
<errorCode>10221</errorCode>
<systemType>WorkflowManager-ProvInit</systemType>
<errorMessage>Dummy error message</errorMessage>
</error>
</PInitWorkflowTransactionFault>
</part>
</WFMFault>
</bpelFault>When I switch to direct binding, using the following reference in the composite.xml, we see the problem.
<reference name="ProvInitializeWorkflowService" wsdlLocation="NPPProvInitializingWorkflow.wsdl">
<interface.wsdl interface="http://www.example.com/network/NPP/ProvInitWF#wsdl.interface(PInitWorkflowPortType)"/>
<binding.direct address="soadirect:/default/ProvInitializingWorkflow!1.0/initprovisioningpayload_client_ep_direct"
connection-factory="oracle.soa.api.JNDIDirectConnectionFactory">
<property name="java.naming.provider.url" type="xs:string" many="false">t3://localhost:8001/default/ProvInitializingWorkflow!1.0/initprovisioningpayload_client_ep_direct</property>
</binding.direct>
</reference>Non-fault replies all work correctly, so we don't have a type mismatch.
Using direct binding, the caller sees this instead:
<bpelFault>
<faultType>0</faultType>
<remoteFault>
<part name="summary">
<summary>oracle.fabric.common.FabricInvocationException: oracle.fabric.common.FabricInvocationException:
oracle.soa.api.invocation.FaultException: {http://www.example.com/network/NPP/ProvInitWF}WFMFault</summary>
</part>
<part name="detail">
<detail>{http://www.example.com/network/NPP/ProvInitWF}WFMFault</detail>
</part>
<part name="code">
<code>null</code>
</part>
</remoteFault>
</bpelFault>I would really like to use direct binding, but I can't if faults do not work. Help?!
Thanks.Hello guys,
did you manage to get a patch for your issue?
We have the same one here, a FabricInvocationException at the BPEL layer,
and in the logs
java.lang.ClassCastException: [B cannot be cast to com.bea.wli.sb.transports.client.SOAMessage
at com.bea.wli.sb.transports.direct.OSBDirectConnection.invoke(Unknown Source)
at com.bea.wli.sb.transports.direct.OSBDirectConnection.request(Unknown Source)
[ I use SOA Suite 11.1.1.5 ]
thanx
ydes -
RunTime binding of database adapter.
Hi All,
I am trying to work through a requirement where the ESB uses a DB adapter to extract information from various data sources (databases), which have the same table structres.
Design is to have a single interface, which would connect into the source system, wherein the connection string needs to be passed through the adapter at run time.
Please advice how this can be achieved.
Regards,
Sambhav.Thanks for the reply Marc.
Your advise is good, however, for my design, invoking a SQL package would be an overkill..is it possible that we can override the behavour of the JCA to achieve run time binding?
Regards,
Sambhav.
Edited by: Sambhav on Jun 9, 2009 4:16 AM -
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,
ZaloaHi,
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 -
Odd power supply fault callhome emails on Cisco 2232 FEXs?
We recently enabled smtp callhome for our ucs pod a few days ago. Since then, we've received more than a dozen email bursts about power supply failures in each of the four Cisco Nexus 2232TP FEXs in our pod. In each case, we get a "Recovered" email within a minute or two, and we're not seeing power supply failure emails for any other devices within the UCS pod.
Here's a sample email burst from this morning, showing the subject lines within my email inbox:
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:01:27 GMT-00:00 Recovered : Power supply 2 in fex 6 operability: inoperable
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:01:27 GMT-00:00 Recovered : Power supply 2 in fex 6 operability: inoperable
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:01:27 GMT-00:00 Recovered : Power supply 2 in fex 6 operability: inoperable
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:01:27 GMT-00:00 Recovered : Power supply 2 in fex 6 power: error
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:01:27 GMT-00:00 Recovered : Power supply 2 in fex 6 power: error
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:01:27 GMT-00:00 Recovered : Power supply 2 in fex 6 power: error
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:00:58 GMT-00:00 Power supply 2 in fex 6 operability: inoperable
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:00:58 GMT-00:00 Power supply 2 in fex 6 operability: inoperable
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:00:58 GMT-00:00 Power supply 2 in fex 6 operability: inoperable
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:00:58 GMT-00:00 Power supply 2 in fex 6 power: error
System Notification from atl01-ucsf01a-A - environment:major - 2012-10-23 06:00:58 GMT-00:00 Power supply 2 in fex 6 power: error
If we were seeing this from just one fex, I'd suspect a hardware issue. If any of the other UCS devices (rackmount/blade servers, fabric interconnects, etc) reported similar issues, I'd suspect a power feed problem within the DC.
But this has me baffled. If it helps, the UCS pod is running firmware 2.0.3c
Cheers,
PaulThanks Paul,
It is known ( cosmetic ) issue with power supply model.
http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtz84683
The above is resolved in recent version of Nexus 5K switch software. New defect to port the fix to UCSM has been submitted today
http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCuc87547
It will take a while to get published on web site.
Even though they are cosmetic, I would suggest you open a TAC SR with UCSM, FEX tech support and above bug IDs so that we can track the resolution.
HTH
Padma
Maybe you are looking for
-
Layout is not proper when viewed through repeat output option
hi when i issue output and see the print prevew every thing is comming properly in the layout. but when i click on button Repeat output and if i issue the output again some of the data is missing in the layout can any one tell me what can be the reas
-
There were some issues with the internet connection here, but last night it was downloading. I left it running like that and this morning it says 'Installed'. Without me doing anything? That's weird. When I check 'About this Mac' it says 10.6.8. The
-
Password in Apple Mail changing
Using Yosemite and AppleMail on MacMini and MacBookPro. with iPhone 5S and iPad Air. Passwords are changing to an empty field when i go to send mail. Not understanding this behavior.
-
Error exporting CR XI R2 reports to PDF
I have been trying to export CR XI R2 with SP2 reports to PDF using Eclipse JRE 1.5 below is my code: /--export options--/ //Create the PDFExportFormatOptions object PDFExportFormatOptions PDFExpOpts = new PDFExportForma
-
Dear Experts, We are planning to upgrade our BPC 7.0 SP4 to BPC 7.0 SP8 patch1. I went through the upgrade document. Do you have any document what are the precautionary steps to taken and is there any issue facing on SP8. I would appreciate if you pr