Problem consuming WS
Hi Gurus,
I´m new on Web Services.
I have a WSDL created with the Integration Directory Wizard´s.
I´m trying to consume the WS associated to this WSDL, I have created the proxy class, logical port, interfaces, etc...
When I execute the class (WS), I get the following message:
PARSE_APPLICATION_DATA
Fehler bei der Konvertierung XML => ABAP (Response Message; FehlerId:
Do you know what is the cause???
Thanks and regards,
Manuel.
Hi Manuel,
The possible cause of this could be any field in the service interface which is not mandatory but still requires an input to be there.
Right way to test the service is to provide all the fields in interface with a SPACE " " value which are to be left empty. This will solve the problem.
SPACE* here is just press space bar but not to type it
Thanks and best regards,
Kulwant Singh
Similar Messages
-
Problem Consuming webservice -- SOAP UI
Hello Gurus,
We have generated a web service from SAP and trying to consume the web service from SOAP UI (external tool), but the SOAP UI tool is generating some error as mentioned below.
Exception_Name> CX_ST_MATCH_ELEMENT
Exception_Text> System expected end of element 'GetQueryViewData': Main Program:/1BCDWB/WSS0051118152402496573| Program:/1BCDWB/WSS0051118152402496573| Line: 58| Valid:X
Note: I have tested the web service from the WS Navigator and I am able to get the response (all Ok).
Kindly let me how I can fix the issue, I belief the problem is XML transformation related (XSLT_TOOL).
Regards,
Abhi.Hi Abhi,
seems that in SOAPUI, you need to pass the correct data (exact length of SAP Fields). Also try by removing "?" symbols whereever not necessary to pass data(optional values).
Hope this may help you...
Cheers,
Kris -
Problems consuming a web service in ABAP
We wish to consume an external web service from ABAP but the provided WSDL file contains syntax not supported by SAP - namely "mixed content". A response from Roman Glushkov in forum thread [Call Sharepoint Web Service; seemed to offer a solution.
The WSDL file was edited as suggested by Roman and the Service Consumer proxy was successfully created from this edited version. However, in our SAP release (Basis release 700 support pack SAPKB70018) the "untyped mapping" indicator is not shown anywhere so we are unable to set that for those elements that were set edited in the WSDL.
The problem now is that when calling a method where the return parameters include one of these edited elements we get the error "SOAP:1,001 CX_ST_MATCH_TYPE:XSLT exception.System expected a value for the type g" presumably because SAP is trying to de-serialise the response rather than just return the data as an XML string.
Does anyone know how to get this "untyped mapping" indicator or can anyone suggest another way to solve this mixed content issue?
TIA
GarethHi Tim
I've sort of got further in that I I can now call the web service method without error but structure returned is empty even though I know the SOAP response has data.
What I did was to go back to the WSDL and re-write the type declaration bit to fully describe the response message.
The appropriate portion of the original WSDL was;
<s:element name="getActionListResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="getActionListResult">
<s:complexType mixed="true">
<s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
The response SOAP message was;
<getActionListResponse xmlns="http://webcominc.com/">
<getActionListResult>
<RESULT xmlns="">
<RESULT>
OK
</RESULT>
<REASON />
<ACTION>
View
</ACTION>
<ACTION>
Change Status
</ACTION>
</RESULT>
</getActionListResult>
</getActionListResponse>
So I re-wrote the WSDL as follows;
<s:element name="getActionListResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="getActionListResult">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="RESULT">
<s:complexType>
<s:sequence>
<s:element name="RESULT" type="s:string" minOccurs="1" maxOccurs="1" />
<s:element name="REASON" type="s:string" minOccurs="1" maxOccurs="1" />
<s:element maxOccurs="unbounded" name="ACTION" type="s:string" minOccurs="0" />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
Using this new version of the WSDL I recreated the ABAP Proxy but as I said this now returns an ABAP structure that is empty. I'm new to WSDL so its very probable that my attempt at defining the response message is incorrect or maybe it is something to do with the fact that the response message has two elements called RESULT - one being the child of the other?
Regards
Gareth -
Problem consuming ADF/Webcenter Portlet in Worskshop for as remote portlet
hi,
I am using Jdeveloper 11g and creating a portlet of a full fledged application with model and data control.
I am consuming this portlet in Workshop for Weblogic 10gR3 as remote portlet through registering it as wsrp.
The problem i am facing is the images doesn't get displayed..also the functionality like page navigation don't work!!
The same portlet works fine in jdeveloper web center environment when consumed with same wsdl.
Please help
Regards
Ajinkya.Hi,
please try the WebCenter forum WebCenter Portal
Frank -
Problem consuming Web Service from ECC 6.0 using dual certificates
Hi, I am trying to consume a secure web service on ECC 6.0 - so far without much luck.
When I try to connect to the ws server, it seems there are three certificates in action: a CICS certificate for establishing the SSL connection, a 'root' certificate from the PKI certificate issuer, and a private certificate issued by the above issuer (please forgive me if a have the syntax wrong - certificates are not my primary line of work). So, using Trust Manager (STRUST), I have created a PSE named 'OES' and imported all three certificates into it.
In SOAMANAGER I have set up the end-point using the WSDL-file and set the following parameters:
- Authentication Method = X.509 Client Certificate
- Trustworthiness Method = Holder of Key
- Issuer = <issuer from the root certificate>
- Name of Attester = <blank>
- Validity of SAML Assertion = 180
- Caching of SAML Assertions = False
- Attester System Destination = <blank>
- Name of Attester = <blank>
- User = SRxxxWS
- Password = <blank>
- Client PSE = OES
When I try to consume the web service, I can see in the log files that the CICS certificat is used for establishing the SSL connection but all I receive back is an HTTP 403 "Client Authentication Error". If I remove the CICS certificate from the PSE, the connection is not made.
How do I make the client certificate available for the connection? Have I approached the problem from the wrong side? Has anybody experienced something similar? Any help will be highly appreciated.
Thanks,
BoHi,
I am not Certificate expert either but you can get plenty of help from "Security" forum on SDN. I can help you bit with some related SAP notes and forum answers:
See following notes :
1324884 - Analysis of ABAP Web Service SOA Configuration
1318906 - Trace analysis of SSL problems
1319507 - Overview: Analysis of ABAP Web Service Configuration
See this forum discussed about consuming secured ws in webdynbpro:
Problem in Calling Secure Webservice.
Articles:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/92914af6-0d01-0010-3081-ded3a41be8f2&overridelayout=true -
Web Services Security Configuration Guide (discussed IBM and NW WS security but you can find some examples and hints there)
Regards,
Gourav -
Problem consume Web Service in SAP
Hi experts,
I need your help to solve this problem.
I must consume one Web Service, but my SAP R3, don't interprets the XML.
(SE80 - > enterprise services -> create -> Service Consumer )
i tried to put the URL and copy to text file , neither worked,
the Error:
Exception occurred in communication framework:Error in File Upload:
rc=1 C:\Users\XPTS853\Desktop\array.xsd
solution remove this line
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="array.xsd";/>
now give me this error:
Exception occurred in library handler
Illegal syntax: Extension element http://schemas.xmlsoap.org/wsdl/soap/:operation not valid in element operation
can you help me? suggestions ?
note: i use complex structures are they the problem?
<complexType name="operationInD">
<sequence>
<element name="MN" type="string"/>
<element name="Nile" type="int"/>
<element name="NewMainB" type="float"/>
<element name="NCode" type="string"/>
</sequence>
</complexType>hi thanks,
my WSDL is valid..
the error is base in interpretation of XSD... i think..
Incorrect value: XSD namespace not available
thank. the file is great, but is not related with this problem... (i have all supported tag´s) -
Problems consuming an Enterprise Service
Hi Gurus, i´m dealing with a problem that i can´t understand. Ex. When i´m trying to consume an enterprise service like " MaterialERPSimpleByElementsQueryResponse_In " (This service is used for find a material by Plant ID, Product Category or description). I choose the fields that i need for input, but when i deploy my model those fields apper as read only and i cant enter a value,
Hope you can help me with this issue, because i have the same problem with other services.
Thanks in advance.
Ragards,
Diego.Hi Diego,
The fields can be read only depending on several reasons.
If the service input is for example with cardinality 0..1 or 0..n, you have to first insert a record so that the values can be filled. You can do it with connecting a start point to the input form and using the initialize data option (in the Define Data dialog of the start point).
If that's not your case, please check if the read only fields are mapped to the service input (the value property of the input field should be like =@FIELD_NAME).
Best regards,
Tal. -
Problem consuming web service with basic authentication
Hello,
I've set up a web service with basic authentication. Although I have to log in before being able to open the overview page of the web service in the Web Service Navigator, the response I get after sending a request is:
Authority check failed
I get this response in the Web Service Navigator as well as when consuming the web service via standalone proxy classes.
The following is strange, too: It is not possible to change authentication in the generated logical port. It is set to "none". I changed it via the XML file where I added the properties "AuthenticationMethod" (value "BasicAuth") and "AuthenticationMechanism" (value "HTTP"). But I got the above response anyway.
Thanks for your help!
RegardsI used basic authentication for my web service.
I was able to obtain a hardcopy of the logfiles in the meantime. The invocation of the web service is stored there with the following error messages:
<i>SOAP Runtime: Exception message: Schwerer Prozessierungsfehler macht eine SOAP-Fault-Behandlung erforderlich
SOAP Runtime: SOAP Fault exception occurred in program CL_SOAP_RUNTIME_SERVER========CP in include CL_SOAP_RU NTIME_SERVER... [the picture is cut here]</i>
In addition to that I found a thread in SDN that dealt with exactly the same problem:
Web Service Homepage: Authority check failed
But I have the same problem like Kimberly Carmack (the last post on the second page). We do not have that role in our system. -
Problem consuming web service created by ABAP via standalone java client
I'm trying to consume web service created by ABAP in R3 system via standalone java client. I should be getting a string reply after consumed the web service (ZSMS_INBOUND), but so far i received null. I cant find any exception or log to trace the problem. Any help would be appreciated. Is there anything wrong with my client calling the web service?
public void myMethod{
// TODO : Implement
try{
Stub stub = (Stub)new ZSMS_INBOUNDServiceImpl().getLogicalPort();
stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,"http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap- client=100&wsdl=1.1&mode=sap_wsdl");
inboundService = (ZSMS_INBOUND) stub;
BAPIRET2 str = inboundService.ZSMS_INBOUND(date, message, modemId, smsId, tel, time);
ackDeliveryArray<i> = str.toString();
}catch (Exception e) {
e.printStackTrace();
Generated following SAP help standalone proxy creation steps.
***files fr SEIs
ZSMS_INBOUND.java (interface)
ZSMS_INBOUNDService.java (interface)
ZSMS_INBOUNDServiceImpl.java
ZSMS_INBOUNDSoapBindingStub.java
***files fr Proxy classes
ZSMS_INBOUND.java
ZSMS_INBOUNDResponse.java
BAPIRET2.java
.... many more files
the wsdl is as below (generated by ABAP):
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:n0="http://www.sap.com/webas/630/soap/features/authentication/" xmlns:sap="http://www.sap.com/webas/630/wsdl/features" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
- <xsd:simpleType name="char1">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char10">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char17">
+ <xsd:restriction base="xsd:string">
<xsd:maxLength value="17" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char170">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="170" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char20">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="20" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char220">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="220" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char30">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="30" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char32">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="32" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="char50">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="50" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="date">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
<xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="numeric3">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
<xsd:pattern value="\d*" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="numeric6">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="6" />
<xsd:pattern value="\d*" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:simpleType name="time">
- <xsd:restriction base="xsd:string">
<xsd:maxLength value="8" />
<xsd:pattern value="\d\d:\d\d:\d\d" />
</xsd:restriction>
</xsd:simpleType>
- <xsd:complexType name="BAPIRET2">
- <xsd:sequence>
<xsd:element name="TYPE" type="tns:char1" />
<xsd:element name="ID" type="tns:char20" />
<xsd:element name="NUMBER" type="tns:numeric3" />
<xsd:element name="MESSAGE" type="tns:char220" />
<xsd:element name="LOG_NO" type="tns:char20" />
<xsd:element name="LOG_MSG_NO" type="tns:numeric6" />
<xsd:element name="MESSAGE_V1" type="tns:char50" />
<xsd:element name="MESSAGE_V2" type="tns:char50" />
<xsd:element name="MESSAGE_V3" type="tns:char50" />
<xsd:element name="MESSAGE_V4" type="tns:char50" />
<xsd:element name="PARAMETER" type="tns:char32" />
<xsd:element name="ROW" type="xsd:int" />
<xsd:element name="FIELD" type="tns:char30" />
<xsd:element name="SYSTEM" type="tns:char10" />
</xsd:sequence>
</xsd:complexType>
- <xsd:element name="ZSMS_INBOUND">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="DATE" type="tns:date" />
<xsd:element name="MESSAGE" type="tns:char170" />
<xsd:element name="MODEMID" type="tns:char10" />
<xsd:element name="SMSID" type="tns:char17" />
<xsd:element name="TEL" type="tns:char20" />
<xsd:element name="TIME" type="tns:time" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
- <xsd:element name="ZSMS_INBOUNDResponse">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="RETURN" type="tns:BAPIRET2" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="ZSMS_INBOUND">
<wsdl:part name="parameters" element="tns:ZSMS_INBOUND" />
</wsdl:message>
- <wsdl:message name="ZSMS_INBOUNDResponse">
<wsdl:part name="parameters" element="tns:ZSMS_INBOUNDResponse" />
</wsdl:message>
- <sap:Feature name="design_0" uri="http://www.sap.com/webas/630/soap/features/authentication/">
- <sap:Property qname="n0:AuthenticationLevel">
<sap:Option value="n0:None" />
</sap:Property>
</sap:Feature>
- <wsdl:portType name="ZSMS_INBOUND">
<sap:useFeature feature="tns:design_0" />
- <wsdl:operation name="ZSMS_INBOUND">
<wsdl:input message="tns:ZSMS_INBOUND" />
<wsdl:output message="tns:ZSMS_INBOUNDResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="ZSMS_INBOUNDSoapBinding" type="tns:ZSMS_INBOUND">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="ZSMS_INBOUND">
<soap:operation soapAction="" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="ZSMS_INBOUNDService">
- <wsdl:port name="ZSMS_INBOUNDSoapBinding" binding="tns:ZSMS_INBOUNDSoapBinding">
<soap:address location="http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-client=100" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>I'm now able to consume the web service, but with the error as below:
Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
Error Message is :com/sap/guid/GUIDGeneratorFactory
BAPIRET2 mappingInfo:
TYPE TYPE false false 11
ID ID false false 11
NUMBER NUMBER false false 11
MESSAGE MESSAGE false false 11
LOG_NO LOG_NO false false 11
LOG_MSG_NO LOG_MSG_NO false false 11
MESSAGE_V1 MESSAGE_V1 false false 11
MESSAGE_V2 MESSAGE_V2 false false 11
MESSAGE_V3 MESSAGE_V3 false false 11
MESSAGE_V4 MESSAGE_V4 false false 11
PARAMETER PARAMETER false false 11
ROW ROW false false 11
FIELD FIELD false false 11
SYSTEM SYSTEM false false 11
My java code is :
public class MyTest {
public static void main(String[] args){
try{
Stub stub = (Stub)new ZSMS_INBOUNDServiceImpl().getLogicalPort();
stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,"http://mytest:8080/sap/bc/srt/rfc/sap/ZSMS_INBOUND?sap-client=100");
ZSMS_INBOUND inboundService = (ZSMS_INBOUND) stub;
BAPIRET2 str = inboundService.ZSMS_INBOUND(param1,param2,param3,param4,param5,param6);
System.out.println(str.toString());
}catch (Exception e) {
e.printStackTrace(); -
XML Parse problem consuming external webservice
Hi all,
I'm testing consuming an external webservice from a WAS 6.40 client. I generated an ABAP proxy for it .
I managed to get the correct soap request out and receiving the response, but while parsing the SOAP XML response back into the output parameter, I'm running into a parse error :
- <CX_XMS_SYSTEM_ERROR>
<ID>PARSE_APPLICATION_DATA</ID>
<P1>Response Message</P1>
<P2>CX_ST_MATCH_TYPE</P2>
<P3>/1SAI/TXS00000000000000000003</P3>
<P4>XML Bytepos.: 354 XML Path: root(1)ns1:checkValidSerialNumbersResponse(1)checkValidSerialNumbersReturn(1) Error Text: System expected a value for the type g</P4>
<INFO />
<CATEGORY>XIProxy</CATEGORY>
<AREA>ABAP</AREA>
<RETRY>M</RETRY>
</CX_XMS_SYSTEM_ERROR>
- <CX_XMS_SYSERR_PROXY>
<CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
</CX_XMS_SYSERR_PROXY>
</cls:CX_XMS_SYSERR_PROXY>
- <cls:CX_ST_MATCH_TYPE id="o163">
The response parameter is defined as xsd:string ( and string in the generated ABAP structure ).
IF the byteposition is correct there would be a problem
with the '?' characeter being in the response.
What does the datatype 'g' mean ?
see also in the error message :
<ACTUAL_NAMESPACE />
<ACTUAL_VALUE />
</CX_ST_MATCH>
- <CX_ST_MATCH_TYPE>
<EXPECTED_TYPE>g</EXPECTED_TYPE>
</CX_ST_MATCH_TYPE>
Any ideas ? Using 2 other soap clients give no issue what soever...:(<wsdl:definitions targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
u2212
<wsdl:types>
u2212
<s:schema elementFormDefault="qualified" targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
u2212
<s:element name="processInputXML">
u2212
<s:complexType>
u2212
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="InputXML" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
u2212
<s:element name="processInputXMLResponse">
u2212
<s:complexType>
u2212
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="processInputXMLResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
u2212
<wsdl:message name="processInputXMLSoapIn">
<wsdl:part name="parameters" element="tns:processInputXML"/>
</wsdl:message>
u2212
<wsdl:message name="processInputXMLSoapOut">
<wsdl:part name="parameters" element="tns:processInputXMLResponse"/>
</wsdl:message>
u2212
<wsdl:portType name="NonLiveSchemaSoap">
u2212
<wsdl:operation name="processInputXML">
<wsdl:input message="tns:processInputXMLSoapIn"/>
<wsdl:output message="tns:processInputXMLSoapOut"/>
</wsdl:operation>
</wsdl:portType>
u2212
<wsdl:binding name="NonLiveSchemaSoap" type="tns:NonLiveSchemaSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
u2212
<wsdl:operation name="processInputXML">
<soap:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
u2212
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
u2212
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
u2212
<wsdl:binding name="NonLiveSchemaSoap12" type="tns:NonLiveSchemaSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
u2212
<wsdl:operation name="processInputXML">
<soap12:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
u2212
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
u2212
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
u2212
<wsdl:service name="NonLiveSchema">
u2212
<wsdl:port name="NonLiveSchemaSoap" binding="tns:NonLiveSchemaSoap">
<soap:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
</wsdl:port>
u2212
<wsdl:port name="NonLiveSchemaSoap12" binding="tns:NonLiveSchemaSoap12">
<soap12:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
I am facing same problem.
This is WSDL. Could you please tell if anything is wrong in WSDL?
I am not aware of WSDL files. -
Problem consuming portlet of an ADF application into webcenter application
Hi,
I have created a simple ADF application with one JSF page having a document list task flow displaying some documents from UCM. I created a portlet out of it by Create Portlet Entry and deployed it onto integrated weblogic. Then i created a webcenter Application in which i created a single JSF page and dragged that registered portlet on to it.
Problem is that Portlet runs fine standalone
It also Gives the correct WSDL
It was registered successfully
But when i consumed that into my webcenter application, It given me Portlet Unavailable.
Here is the stacktrace of my Jdeveloper log:
Target URL -- http://127.0.0.1:7101/MyApplication/faces/PortletTest.jspx
<MetadataResourceXmlImpl><parseBeans> ADFc: /META-INF/adfc-config.xml:
<MetadataResourceXmlImpl><parseBeans> ADFc: Duplicate managed bean definition for 'task_flow_action_bean' detected.
<GlobalConfiguratorImpl><init> Configurator services already initialized.
<PortletApplicationImpl><log> Exception thrown in doFacesRequest:render
java.lang.ClassCastException: oracle.jbo.mom.DefinitionContextAgeable cannot be cast to oracle.jbo.mom.DefinitionContext
at oracle.jbo.mom.DefinitionManager.getCurrentDefinitionContext(DefinitionManager.java:2447)
at oracle.jbo.mom.DefinitionManager.findLoadedObject(DefinitionManager.java:2302)
at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:634)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:692)
at oracle.adf.model.BindingContext.initialize(BindingContext.java:374)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:221)
at oracle.portlet.bridge.adf.lifecycle.ADFBindingBridgeLifecycleListenerImpl.onBeginRequest(ADFBindingBridgeLifecycleListenerImpl.java:94)
at oracle.portlet.bridge.adf.context.ADFPortletExternalContextImpl.<init>(ADFPortletExternalContextImpl.java:225)
at oracle.portlet.bridge.adf.context.ADFPortletFacesContextImpl.<init>(ADFPortletFacesContextImpl.java:40)
at oracle.portlet.bridge.adf.context.ADFPortletFacesContextFactoryImpl.getFacesContext(ADFPortletFacesContextFactoryImpl.java:41)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64)
at oracle.adfinternal.controller.application.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:56)
at oracle.adfinternal.controller.application.model.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:70)
at oracle.adfinternal.view.faces.portlet.ADFPortletFacesContextFactory.getFacesContext(ADFPortletFacesContextFactory.java:36)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.getFacesContext(BridgeImpl.java:989)
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:535)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:814)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1457)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:421)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
<PortletApplicationImpl><logWithLevel> An internal error has occurred in method getMarkup.
javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:502)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:814)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1457)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:421)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: javax.portlet.faces.BridgeException: oracle.jbo.mom.DefinitionContextAgeable cannot be cast to oracle.jbo.mom.DefinitionContext
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:587)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
... 55 more
Nested Exception is javax.portlet.faces.BridgeException: oracle.jbo.mom.DefinitionContextAgeable cannot be cast to oracle.jbo.mom.DefinitionContext
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:587)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:814)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1457)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:421)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<HTTPClientTransport><invoke> A request to the producer URL "http://10.193.166.125:7101/UCMTestWebApp/portlets/WSRP_v2_Markup_Service" resulted in a status 500 response with fault string "oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request". The fault code given was "ns0:OperationFailed". The producer generated a timestamp of 2010-12-08T06:42:02+0530 and associated the following stack trace with the fault message: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15310)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.getMarkup(WSRP_v2_Markup_PortTypeSoapToJaxb.java:81)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapPerfLogger.getMarkup(WSRP_v2_Markup_PortTypeSoapPerfLogger.java:58)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_getMarkup(WSRP_v2_Markup_Binding_SOAP_Tie.java:814)
at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1457)
at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:299)
at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:421)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:996)
at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:312)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:222)
at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:166)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:430)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1411)
at oracle.portlet.server.containerimpl.ServerImpl.getMarkup(ServerImpl.java:143)
at oracle.portlet.server.containerimpl.ServerPerfLogger.getMarkup(ServerPerfLogger.java:584)
at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.getMarkup(WSRPv2VersionWrapperServer.java:545)
at oracle.portlet.wsrp.v2.WSRPv2ToServer.getMarkup(WSRPv2ToServer.java:15127)
... 44 more
Caused by: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:502)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:449)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:241)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:243)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:209)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at oracle.portlet.bridge.adf.application.ADFBridgePortlet.render(ADFBridgePortlet.java:287)
at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1316)
... 48 more
Caused by: javax.portlet.faces.BridgeException: oracle.jbo.mom.DefinitionContextAgeable cannot be cast to oracle.jbo.mom.DefinitionContext
at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:587)
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:498)
... 55 more
<ADFPortletServlet><process> oracle.adf.model.portlet.binding.PortletModelException
at oracle.adfinternal.model.portlet.binding.IframeContentRequest$IframePortletModel.getPortletRendition(IframeContentRequest.java:402)
at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getPortletRendition(ActivityPortletModelWrapper.java:108)
at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.render(ADFPortletServlet.java:808)
at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.process(ADFPortletServlet.java:635)
at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.process(ADFPortletServlet.java:501)
at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.doGet(ADFPortletServlet.java:444)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: oracle.portlet.client.container.PortletRemoteException: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at oracle.portlet.client.techimpl.wsrp.WSRPBaseTerminalPipe.processException(WSRPBaseTerminalPipe.java:33)
at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:222)
at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.pre(WSRPGetMarkupPipe.java:44)
at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:654)
at oracle.portlet.client.service.pipeline.PipeContext.access$000(PipeContext.java:51)
at oracle.portlet.client.service.pipeline.PipeContext$1.run(PipeContext.java:502)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:391)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:416)
at java.lang.Thread.run(Thread.java:619)
Caused by: oracle.portlet.server.container.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:2779)
at oracle.portlet.client.connection.wsrp.ActivityServerWrapper.getMarkup(ActivityServerWrapper.java:1812)
at oracle.portlet.client.techimpl.wsrp.WSRPGetMarkupPipe.execute(WSRPGetMarkupPipe.java:117)
... 22 more
Caused by: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.wsrp.v2.OperationFailedException: oracle.portlet.server.container.OperationFailedException: javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.getMarkup(WSRP_v2_Markup_PortTypeJaxbToSoap.java:141)
at oracle.portlet.wsrp.v2.ServerToWSRPv2.getMarkup(ServerToWSRPv2.java:2611)
... 24 more
Caused by: oracle.portlet.wsrp.v2.soap.OperationFailed
at oracle.portlet.wsrp.v2.soap.runtime.WSRP_v2_Markup_PortType_getMarkup_Fault_SOAPSerializer.deserializeDetail(WSRP_v2_Markup_PortType_getMarkup_Fault_SOAPSerializer.java:299)
at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserializeSOAP11(SOAPFaultInfoSerializer.java:133)
at oracle.j2ee.ws.common.encoding.SOAPFaultInfoSerializer.doDeserialize(SOAPFaultInfoSerializer.java:95)
at oracle.j2ee.ws.common.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:194)
at oracle.j2ee.ws.common.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:148)Hi All,
Even I am trying to achieve something similar and get the same error.
I created a simple JSR 286 portlet with view.jspx and edit.jspx in Portlet Producer Application. And trying to consume that portlet in WebCenter Portal Application using WSRP.
The producer application gets deployed without any errors and I am able to register that application in WebCenter portal application using WSRP.
I used the content presenter taskflow in Producer Application to grab a html from UCM. Consumed that (drag & drop) remote portlet in home.jspx of the Webcenter Portal Application.
When I run the WebCenter Portal, I get this error on console and in browser:
javax.portlet.faces.BridgeException: oracle.jbo.NoDefException: JBO-25002: Definition portletone.html.viewPageDef of type Form Binding Definition is not found.
javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:675)
at javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:638)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:274)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
Sometimes I don't see this error when I restart my WLS but the portlet doesn't display any content from UCM either.
I am deploying the applications on Integrated Weblogic Server.
Detail description of what my code is in this post: Error with content presenter task flow in Portlet Producer application
Thanks,
Win -
InstallerS Problem - Consuming All my RAM
Hello
I was wondering if anyone could help me out. I downloaded something the other day (I have since cleared all cookies and history so I don't remember were it was from) and tried to install it on my MAC. I'm not sure what happened to the install. I was being distracted by a few christmas activities at the time and wasn't paying a lot of attention to my computer. I though that install had completed as there was nothing happening on my computer when a got back to it.
Anyways...The problem is when I start up my MacBook Pro- OS X 10.6.8 - 4GB RAM it starts fine but then once up and running the computer slows down to almost freezing up. I did as much as I could with what I know with respect to erasing all histories/cookies from all web browsers, but it's not that. I was able to get to the Activity Monitor in my Utilities folder and found out that an 'InstallerS' was increasingly using up my RAM until all my available RAM was occupied. When I forced quite the Installer S, my Mac returns to normal. The other symptom is when I shut down my computer about 50% of the time a small window come up and asks me if I'd like to abort the install. This is sometimes after a long period of computer use and long after I have 'forced quit' the InstallerS.
I have looked in my 'Startup Folder' and there there is nothing there.
I have searched in my 'SpotLight' for InstallerS and have found nothing.
I have erased all cookies and history from all web browsers.
Please find attached an image of my activity monitor just as my RAM is being more and more consumed.
The first time I was able to get to my activity monitor I had 5 MB of RAM available. Only the InstallerS, Finder and Activity Monitor were running.
I would love to know how to ride my computer of this InstallerS issue once and for all.
Best regards,
BREPEATING MY ANSWER FROM ABOVE
THIS WORKED....AND NO PROBLEMS FOR 2 MONTHS.
I used the suggestion above (Kurt Lang).
Open Activity Monitor
Find "InstallerS" and double-click it
Click on "open files and ports"
This provides a list of files associated with "InstallerS"
This is where I first found the Geneio connection that Kurt Lang mentioned in his 2nd post.
I then went to "Finder" and typed "genieo" in the search box.
I think there were 5 or 6 files that came up with "genieo" in them.
I then right-clicked on each and moved them to trash.
I was afraid to just delete in case they were linked to other necessary files.
After deleting them, I restarted computer, and "InstallerS" never came back (2 weeks now).
After I few days, I emptied the trash. -
Hallo, I have an application which implements asynch communication between the web and business layer using JMS.
On a page a user can upload files, which are processed by the backend. For large files this can be a long running process, thats why we use JMS to send the file asynchronously and use JMS to update progress information on the page.
The application works fine on JBoss 6 with HornetMQ.
After porting to Weblogic I see consistently a strange phenomenon. The update messages from the processing backend logic are send as expected. But the receiver does not receive one message after another but receives all the messsages almost at once after only the producer has sent the last message.
For me this is totally unexpected behavior and of course our progress bar on the page does not work properly, but merely jumps from 0 to 100% after the data has been processed.
It looks like the consumer waits until the producer has finished its transaction. But how can this be possibly? I have learned that transaction never span producer - messagesystem - consumer.
Example Code:
Producer:
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.annotation.Resource;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.interceptor.Interceptors;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.DeliveryMode;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.MessageProducer;
import javax.jms.Session;
import javax.jms.TextMessage;
import org.apache.log4j.Logger;
import com.sun.tools.ws.wsdl.document.jaxws.Exception;
import dsde.core.aspects.DsdeException;
import dsde.core.aspects.ExceptionHandler;
import dsde.core.entity.Data;
@Stateless
@Interceptors(ExceptionHandler.class)
public class ParserBean implements Parser {
private Logger log = Logger.getLogger(this.getClass());
@EJB
private DataDAO dataDAO;
//Weblogic
@Resource(mappedName="jms.BackQueue")
//Jboss
//@Resource(mappedName="queue/dsdeBackQueue")
private Destination backQueue;
//Weblogic
@Resource(mappedName="jms.dsdeConnectionFactory")
//JBoss
//@Resource(mappedName="XAConnectionFactory")
private ConnectionFactory connectionFactory;
private Connection connection;
@Override
public void parse(String text, String description, String sessionId) throws DsdeException{
double percentDone = 0;
double j = 0.0;
//Simuliere was langdauerndes, schwieriges
for (int i=0; i < text.length(); i++) {
j = i;
percentDone = j / text.length() * 100;
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
log.error(e);
if (i % 2 == 0) {
//periodisch das Frontend mit dem Fortschritt updaten
sendFeedback((int)percentDone, sessionId);
//Zum Schluss noch senden dass wir fertig sind
//Sonst wird der Send Button nicht wieder aktiv
percentDone=100;
sendFeedback((int)percentDone, sessionId);
//Jetzt wird noch richtig geparsed :-)
String[] words = text.split(" ");
//Entity konstruieren
Data data = new Data(description, words);
//Das Ergebnis in die Datenbank schreiben
dataDAO.saveData(data);
private void sendFeedback(int percentDone, String sessionId) {
Session session = null;
try {
session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer producer = session.createProducer(backQueue);
producer.setTimeToLive(50000);
producer.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
TextMessage message = session.createTextMessage();
message.setJMSCorrelationID(sessionId);
message.setText("" + percentDone);
producer.send(message);
log.info("ParserBean has sent " + percentDone);
} catch (JMSException e) {
log.error(e);
} finally {
if (session != null) {
try {
session.close();
} catch (JMSException e) {
log.error(e);
@PostConstruct
public void init(){
try {
connection = connectionFactory.createConnection();
} catch (JMSException e) {
log.error(e);
@PreDestroy
public void close() {
try {
connection.close();
} catch (JMSException e) {
log.error(e);
}Consumer:
import javax.annotation.ManagedBean;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageConsumer;
import javax.jms.MessageListener;
import javax.jms.Queue;
import javax.jms.Session;
import javax.jms.TextMessage;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Logger;
@ManagedBean
@SessionScoped
public class FeedbackReceiverBean implements MessageListener {
private Logger log = Logger.getLogger(this.getClass());
//jndi names of managed objects
private String connectionFactoryName;
private String queueName;
private Connection connection;
private Session session;
private int percent;
private boolean disabled;
public boolean isDisabled() {
return disabled;
public void setDisabled(boolean disabled) {
this.disabled = disabled;
public int getPercent() {
return percent;
public void setPercent(int percent) {
this.percent = percent;
public void setConnectionFactoryName(String connectionFactoryName) {
this.connectionFactoryName = connectionFactoryName;
public void setQueueName(String queueName) {
this.queueName = queueName;
@PostConstruct
public void init() throws NamingException, JMSException {
FacesContext facesContext = FacesContext.getCurrentInstance();
HttpSession httpSession = (HttpSession) facesContext.getExternalContext().getSession(false);
String sessionId = httpSession.getId();
Context context = new InitialContext();
ConnectionFactory connectionFactory = (ConnectionFactory) context.lookup(this.connectionFactoryName);
Queue queue = (Queue) context.lookup(this.queueName);
this.connection = connectionFactory.createConnection();
this.session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
String filter = "JMSCorrelationID = '" + sessionId + "'";
MessageConsumer consumer = session.createConsumer(queue, filter);
consumer.setMessageListener(this);
connection.start();
@PreDestroy
public void close() throws JMSException {
this.session.close();
this.connection.close();
@Override
public void onMessage(Message message) {
if (message instanceof TextMessage) {
TextMessage textMessage = (TextMessage) message;
try {
this.percent = Integer.parseInt(textMessage.getText());
if (percent >= 100) {
this.disabled = false;
log.info("Prozent " + percent);
} catch (JMSException e) {
log.error(e);
else {
log.error(message.toString() + " is no TextMessage");
public void disable() {
this.disabled = true;
}Configuration:
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-jms xmlns="http://xmlns.oracle.com/weblogic/weblogic-jms" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-jms http://xmlns.oracle.com/weblogic/weblogic-jms/1.1/weblogic-jms.xsd">
<connection-factory name="dsdeConnectionFcatory">
<default-targeting-enabled>true</default-targeting-enabled>
<jndi-name>jms/dsdeConnectionFactory</jndi-name>
<default-delivery-params>
<default-delivery-mode>Persistent</default-delivery-mode>
<default-time-to-deliver>0</default-time-to-deliver>
<default-time-to-live>100</default-time-to-live>
<default-priority>4</default-priority>
<default-redelivery-delay>0</default-redelivery-delay>
<send-timeout>10</send-timeout>
<default-compression-threshold>2147483647</default-compression-threshold>
</default-delivery-params>
<client-params>
<client-id-policy>Restricted</client-id-policy>
<subscription-sharing-policy>Exclusive</subscription-sharing-policy>
<messages-maximum>10</messages-maximum>
</client-params>
<transaction-params>
<xa-connection-factory-enabled>true</xa-connection-factory-enabled>
</transaction-params>
<security-params>
<attach-jmsx-user-id>false</attach-jmsx-user-id>
</security-params>
</connection-factory>
<queue name="dsdeQueue">
<sub-deployment-name>dsdeQueue</sub-deployment-name>
<jndi-name>jms/dsdeQueue</jndi-name>
</queue>
<queue name="dsdeFeedbackQueue">
<sub-deployment-name>dsdeFeedbackQueue</sub-deployment-name>
<jndi-name>jms/dsdeFeedbackQueue</jndi-name>
</queue>
<queue name="dsdeBackQueue">
<sub-deployment-name>dsdeBackQueue</sub-deployment-name>
<jndi-name>jms/BackQueue</jndi-name>
</queue>
</weblogic-jms>Any help would be greatly appreciated.
Thanks,
HansThanks for posting your analysis!
I think your solution is probably best.
FYI: Your JMS session was never a "transacted" session. It's definitely confusing, but the term "transacted session" has a special meaning in JMS, it actually refers to a session that is not XA/JTA aware and instead maintains an internal local transaction that's scoped only to the current JMS session's operations. A transacted session is created by passing "true" to the first parameter of createSession, and such a session's local transaction is committed by calling session.commit() (which starts a new transaction). To further add to the confusion, I think that JEE servers are actually obligated to ignore requests to set the transacted flag to true -- WebLogic does this trick by secretly wrapping access to the JMS API when applications lookup JMS connection factories via a resource reference.
Regards,
Tom -
Problems consuming a MII web service using 'Add Service Reference' in Visual Studio
I can generate a client proxy when I use 'Add Web Reference' in visual studio, but when I try to use 'Add Service Reference', I get an empty stub. We have a product that generates web service client proxy code in a manner similar to that used by the Microsoft 'Add Service Reference' code. We are usually able to consume ASMX web services as well, but currently are unable to consume the SAP MII web service. Any help would be appreciated.
Hi Didi,
I can successfully add a Service Reference and execute an MII transaction with input and output parameters through the Service Reference. This is using MII14 SP5 latest patch, and Microsoft Visual Studio 2008 in C#.
Which version of MII, and which version of VS?
Can you paste the MII url into a browser and get it to return the WSDL?
Regards, Steve -
Problem consuming inbound AQ message from ebusiness suite to invoke service
Hi All,
I am having a real problem with a composite which I am trying to fire from a business event in Oracle Applications, any help would be really appreciated.
I suspect this maybe down to a server configuration issue as Weblogic (11g) has only had a basic install completed by a none DBA trained colleague who has never used weblogic before.
Here is my scenario:
I have a BPEL process that receives an incomming message and writes that message to file using the file adapter. The inbound service interface is an Oracle Applications Adapter that has been configured to "dequeue" a message from the WF_BPEL_Q AQ in Oracle Applications. The business event is the "Create Employee" event.
I have followed the 11g SOA gateway developer guide example and subscribed to the business event via the Oracle Apps Integration Repository subscribtion functionality and I have ensured that the business event is enabled. By default the subscription is set as defered.
I have successfully created an employee and the business event has fired and after a minute or so the message is enqueued to the WF_BPEL_Q within the APPS schema.
Problem: despite the composite compiling and deploying successfully to my SOA server the BPEL process does not get invoked and the message does not get de-queued from the WF_BPEL_Q.
I am happy that the BPEL process is configured correctly and I have checked the JNDI reference to the apps Data Source configured on the Weblogic server is correct on the inbound partner link.
My understanding of the process is that the Apps Adapter is not just a fancy service interface bean within the JDeveloper IDE, on the server there is a corresponding component that polls the WF_BPEL_Q and dequeues the relevant messages and invokes the services that are registered on the server that subscribe to that particular buisiness event.
What I need to know is:
1. What is a typical configuration for the ApplicationsAdapter on the Weblogic server, i.e. what should I be looking for and checking i.e. connections to my Apps instance/listners/adapter settings etc...
2. How do I run diagnostics/debug the process to find the problem i.e. where are log files located etc....
Any help on this would be much appreciated, also if you are more of a BPEL process implementer and have experience with business event invokation of services then please feel free to make suggestions ask questions about my configuration, I am new to Business Events, BPEL and Weblogic so I have got my work cut out!!!!
I will post this question on a few of the SOA forums
Thanks in advance
Keith TurleyWe have similar issue.All the Background engines are up and running.Also see no error on WF_BPEL_QTAB table..
Business event is oracle.apps.ar.hz.CustAccount.update. Let me know if there is anything which needs to be looked in on the SOA Server.
Regards
Sabir
Maybe you are looking for
-
TV adapter playing up -- surely someone has an answer!
Why won't my iBook's tv adapter work? This problem has been bugging me for nearly a year. I've asked the question in nearly every mac forum I could find (I even asked here) -- but no one has offered me a solution. ...I bought a video adapter from the
-
Exception while accessing web service through code
I have a web service developed using AXIS deployed on Weblogic 8.1 Another web application cotaining GUI deployed on Weblogic 10 tries to access this web service through code. This piece of code to invoke the web service is written in Action Class pr
-
Recording data at particular iterations and writing to text file
Hi all, this is my first time posting on the NI boards. I'm running into a couple problems I can't seem to figure out how to fix. I'm collecting data using a LabJack U3-HV daq. I've taken one of the out-of-the-box streaming functions that comes with
-
Hi , I am using JSTL to connect to MYSQL DB , but it fails , any one could help , according to documentation I wrote the following tag (I am not sure about the value of the attribute "url" ): <ui:panelGroup binding="#{Main.groupPanel1}" id="groupPane
-
I'm trying to edit a number of video's regarding a presentation I'm working on for school project. Can anyone recommend a reliable video editting application? Thanks for helping