Issue invoking webcatalog webservice in oracle11g
I am trying to use readObjects method as below
catalogObject = webCatalogService.readObjects(objectPath, false, eLevel, returnOption, sessionId);
to read a catalog object from the presentation layer catalog.
I get SOAPFaultException exception
The detailMessage in the Exception object is
Assertion failure: false at line 816 of C:\ADE\aime_bi\bifndn\analytics_web\main/project/websoap/soaphelpers.cpp
Any idea what this means and what should I look for more debugging?
Any help very appreciated as this is kind of urgent.
Thanks,
Neel
The code write like this:
ItemInfo[] items=catalog.getSubItems("/users/weblogic/test","*",true,null,sessionID);
but I met another question,Reports page's style and pictures are lost.
Do you know why?
Similar Messages
-
Issue in invoking the webservice on EBS 12.1.3
Hi,
We are using R12.1.3 version of EBS. We have developed the custome PL SQL logic and deployed it on the Integration repository. Generated the WSDL and Deploy process were successful on IR. Authentication type used was "Username Token". Created the necessary user grants.
When we try to invoke the webservice from SOAP UI, we are getting below error:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: System Errornull</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
Also, we checked in the log files and found below entries.
<MSG_TEXT>An error occurred for port: SOAProvider: oracle.webservices.provider.ProviderException: oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: System Errornull.</MSG_TEXT>
<MSG_TEXT>Unable to determine operation id from SOAP Message.</MSG_TEXT>
Can someone help me in this issue? We are successfully able to invoke the same webservices on R12.1 version but getting an error in 12.1.3 version!!!
Thanks in advance.
Regards,
VasanthHi,
Try seeing the log messages after doing the following setup in the instance :-
1. Telnet to environment
1. In $INST_TOP/ora/10.1.3/j2ee/oafm/config/oc4j.properties
1. Add following property at the end of the file : SOA_ENABLE_STANDALONE_LOGGING=TRUE
2. Bounce oafm container using script $ADMIN_SCRIPTS_HOME/adoafmctl.sh
3. Perform any SOA specific action like generate.
SOA specific log would be created at : $INST_TOP/soa/SOALog.log
This file should show you the exact error happening.
Thanks,
Sai.M -
Getting issue while invoking a webservice.
Hi All
when i invoke a webservice which is located remotley using httpclient post method. I am getting the following error
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.</faultstring>
Can anyone please help me out how to get out this exception. tried googling on this exception, but there is no luck.
import java.io.File;
import java.io.FileInputStream;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.InputStreamRequestEntity;
import org.apache.commons.httpclient.methods.PostMethod;
public class PostXML {
public static void main(String[] args) throws Exception {
// Get target URL
String strURL = "http://localhost/services/CmdLineInterface?wsdl";
// Get file to be posted
String strXMLFilename = "C:\\post.xml";
File input = new File(strXMLFilename);
// Prepare HTTP post
PostMethod post = new PostMethod(strURL);
// Request content will be retrieved directly
// from the input stream
// Per default, the request content needs to be buffered
// in order to determine its length.
// Request body buffering can be avoided when
// content length is explicitly specified
post.setRequestEntity(new InputStreamRequestEntity(
new FileInputStream(input), input.length()));
// Specify content type and encoding
// If content encoding is not explicitly specified
// ISO-8859-1 is assumed
post.setRequestHeader(
"Content-type", "text/xml; charset=ISO-8859-1");
// post.set
post.setRequestHeader("SOAPAction", "");
// Get HTTP client
HttpClient httpclient = new HttpClient();
// Execute request
try {
int result = httpclient.executeMethod(post);
// Display status code
System.out.println("Response status code: " + result);
// Display response
System.out.println("Response body: ");
System.out.println(post.getResponseBodyAsString());
}catch(Exception e)
e.printStackTrace();
}finally {
// Release current connection to the connection pool
// once you are done
post.releaseConnection();
the above is the code i am using for calling the webservice.
Anyone can you please help me on this.
Regards
RakeshHi
Thank you very much for replying back..
Here is my WSDL file i am using
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:test" xmlns:intf="urn:test" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:test">
<!--
WSDL created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)
-->
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:test">
<element name="in0" type="xsd:string"/>
<element name="processCmdLineRequestReturn" type="xsd:string"/>
</schema>
</wsdl:types>
<wsdl:message name="processCmdLineRequestResponse">
<wsdl:part element="intf:processCmdLineRequestReturn" name="processCmdLineRequestReturn"/>
</wsdl:message>
<wsdl:message name="processCmdLineRequestRequest">
<wsdl:part element="intf:in0" name="in0"/>
</wsdl:message>
<wsdl:portType name="CmdLineInterface">
<wsdl:operation name="processCmdLineRequest" parameterOrder="in0">
<wsdl:input message="intf:processCmdLineRequestRequest" name="processCmdLineRequestRequest"/>
<wsdl:output message="intf:processCmdLineRequestResponse" name="processCmdLineRequestResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="CmdLineInterfaceSoapBinding" type="intf:CmdLineInterface">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="processCmdLineRequest">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="processCmdLineRequestRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="processCmdLineRequestResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="CmdLineInterfaceService">
<wsdl:port binding="intf:CmdLineInterfaceSoapBinding" name="CmdLineInterface">
<wsdlsoap:address location="http://localhost:8080/test/services/CmdLineInterface"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Regards
Rakesh -
Problems Invoking Ebiz Webservice from 11g FMW Serve
Hi All,
We need to invoke a Webservice deployed on Ebiz host from 11g FMW Server in our PIP.
I created a simple BPEL process to invoke Ebiz Webservice and deployed the bpel process on 11g Server.
While executing the bpel process Iam getting Null Pointer Exception from Ebiz Webservice.
After checking the logs of Ebiz it was understood that SOA Provider is unable to recognize wsa header tags in the soap message used to invoke Ebiz Webservice.
Error message from logs is "An error occurred for port: AppsWSProvider: oracle.webservices.provider.ProviderException: java.lang.NullPointerException."
Unexpected header encountered: NameImpl: [localName: To, prefix:wsa, uri:http://www.w3.org/2005/08/addressing]
oracle.apps.fnd.wf.ws.common.WSException: InvalidHeader: Unexpected header encountered.
at oracle.apps.fnd.wf.ws.common.SOAPUtils.extractHeaders(SOAPUtils.java:92)
at oracle.apps.fnd.wf.ws.server.AppsWSProvider.processMessage(AppsWSProvider.java:470)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
11g FMW Server is automatically adding these WSA Header tags in the soap message to invoke Webservice deployed on Ebiz host.
Have anyone encountered similar kind of issue?
Regards,
Sunitha.MHi
Hope below URL will resolve your issue
URL: https://cn.forums.oracle.com/forums/thread.jspa?threadID=1099613
Regards,
Phanikanth -
Re: Problems Invoking Ebiz Webservice from 11g FMW Server
Hi All,
We need to invoke a Webservice deployed on Ebiz host from 11g FMW Server in our PIP.
I created a simple BPEL process to invoke Ebiz Webservice and deployed the bpel process on 11g Server.
While executing the bpel process Iam getting Null Pointer Exception from Ebiz Webservice.
After checking the logs of Ebiz it was understood that SOA Provider is unable to recognize wsa header tags in the soap message used to invoke Ebiz Webservice.
Error message from logs is "An error occurred for port: AppsWSProvider: oracle.webservices.provider.ProviderException: java.lang.NullPointerException."
Unexpected header encountered: NameImpl: [localName: To, prefix:wsa, uri:http://www.w3.org/2005/08/addressing]
oracle.apps.fnd.wf.ws.common.WSException: InvalidHeader: Unexpected header encountered.
at oracle.apps.fnd.wf.ws.common.SOAPUtils.extractHeaders(SOAPUtils.java:92)
at oracle.apps.fnd.wf.ws.server.AppsWSProvider.processMessage(AppsWSProvider.java:470)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
11g FMW Server is automatically adding these WSA Header tags in the soap message to invoke Webservice deployed on Ebiz host.
Have anyone encountered similar kind of issue?
Regards,
Sunitha.MI'm using Weblogic 7.0.
You must use two jars:
- webserviceclient+ssl.jar, which you can find somewhere in the
weblogic distribution, and
- the jar containing the proxy classes, which is created by the
tool jwsCompile when you compile the webservice (edited with Workshop). For this
latter you may follow the instructions in
http://e-docs.bea.com/workshop/docs70/help/index.html#guide/
tutorial/tutFirstWebServiceIntro.html at step 8
Still, if you happen to understand what my problem is, hints for
me are really welcome. -
Error during invokation of webservices: "error: unknown java type:"
hi,
I'm having issues with invoking a webservice from the "WebLogic Test Client". The webservice exposes the methods from a stateless session EJB and Weblogic Workshop was used to create the webservice controls
Weblogic version: 10.0 mp1
Pls. advise.
Error message ...
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header />
<env:Body>
<env:Fault>
<faultcode>env:Server</faultcode>
<faultstring>error: unknown java type: com.margin.engine.entity.ClientSet</faultstring>
<detail>
<bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">com.bea.xml.XmlRuntimeException: error: unknown java type: com.margin.engine.entity.ClientSet
at com.bea.staxb.runtime.internal.FailFastErrorHandler.add(FailFastErrorHandler.java:45)
at com.bea.staxb.runtime.internal.MarshalResult.addError(MarshalResult.java:265)
at com.bea.staxb.runtime.internal.AnyTypeRuntimeBindingType.determineActualRuntimeType(AnyTypeRuntimeBindingType.java:84)
at com.bea.staxb.runtime.internal.RuntimeBindingProperty.getActualRuntimeType(RuntimeBindingProperty.java:110)
at com.bea.staxb.runtime.internal.PushMarshalResult.walkRankOneSoapArray(PushMarshalResult.java:570)
at com.bea.staxb.runtime.internal.PushMarshalResult.walkSoapArray(PushMarshalResult.java:534)
at com.bea.staxb.runtime.internal.PushMarshalResult.visit(PushMarshalResult.java:437)
at com.bea.staxb.runtime.internal.SoapArrayRuntimeBindingType.accept(SoapArrayRuntimeBindingType.java:59)
at com.bea.staxb.runtime.internal.PushMarshalResult.writeContents(PushMarshalResult.java:192)
at com.bea.staxb.runtime.internal.PushMarshalResult.marshalTopType(PushMarshalResult.java:93)
at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:302)
at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:435)
at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:175)
at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:95)
at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:284)
at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:205)
at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:192)
at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:119)
at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:128)
at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:236)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:220)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:135)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:108)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
</bea_fault:stacktrace>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>Olivier, thank you so much
SOAMANAGER does not exist in my system (sp level 8), so node "/sap/bc/soap/rfc" should be active. Actually, it is active.
I think the problem is related to user rights/profiles.
I have tried to create another WS after assigning role SAP_BC_WEBSERVICE_ADMIN. The same error when trying to activate it, but now, I can see this WS in SE80 (under "Enterprise Services->Service Definition"). It is not active there and if I try to activate it, a success message appears indicating that user "is not authorized to use function netzwerkadministration". I cannot see any new services in SICF...
Probably the new entry in SICF will be created after activating WS in SE80...
Do u know what user profile should I add in order to properly activate the WS in SE80?
Thank you very much!
Vicente -
Soap layer error when trying to invoke a webservice.
Hi,
I am new to Weblogic.
I have an issue while invoking the webservice of a webmethods application.
I am invoking that webservice using rpc call (call.invoke() method of javax.xml.rpc api).
Please find error description occured in the Server logs of weblogic server.
Exception while invoking the service call Message is :failed to invoke operation '__incidentReqInput' due to an error in the soap layer(SAAJ);
nested exception is: Message[Found SOAPElement
[<m:payload xmlns:m="http://www.abc.com/gs/solutions/message"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true">
</m:payload>]. But was not able to find a Part that is registered with this Message which corresponds to this SOAPElement. Th
e name of the element should be one of these[__bea_noname_result]]StackTrace[
javax.xml.soap.SOAPException: Found SOAPElement [<m:payload xmlns:m="http://www.abc.com/gs/solutions/message"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true">
</m:payload>]. But was not able to find a Part that is registered with this Message which corresponds to this SOAPElement. Th
e name of the element should be one of these[__bea_noname_result]
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:478)
at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:325)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:566)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:419)
at com.gs.customerbonding.hub.httpHandler.WSResponseSenderImpl.sendResponse(WSResponseSenderImpl.jcs:370)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:371)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:381)
at $Proxy106.sendResponse(Unknown Source)
Any help is highly appreciated.
Regards
NagI am not using any wsdl file. I'm trying to invoke a webservice that is at client's end (using RPC call). Mine is a generic server program. When i'm calling other clients using the same method, im not facing any issues. Only for 1 particular end-point i'm getting the above exception. Any suggestions?
-
Unable to invoke ReadProject WebService on a HTTPS environment
Hi,
I have customized Ms Project Server 2010 to invoke PSI WebService in the checkin event handler.
The code works very well in a HTTP environment. However, it doesn't work in HTTPS environment. The following message is displayed on accessing the service in HTTPS environment
The server was unable
to process the request due to an internal error. For more information
about the error, either turn on IncludeExceptionDetailInFaults (either from
ServiceBehaviorAttribute or from the <serviceDebug> configuration
behavior) on the server in order to send the exception information back to the
client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK
documentation and inspect the server trace logs
I am unable to trace logs to find out the root cause of this issue. Any help in this regard will be appreciated.HTTP 401 means the server running on specified URL may have HTTP Basic Authentication enabled. Please cross-check whether this is the case and if yes then configure the same in composite. BTW, "01hw331924" seems to be a familiar host name. ;)
Regards,
Anuj -
Exception occured while invoking the webservice operation
I have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
The selected operation process could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
Thanks
NasirI have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
The selected operation process could not be invoked.
An exception occured while invoking the webservice operation. Please see logs for more details.
oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
BEA1-12097AA8772D3C8BB607
Thanks
Nasir -
Regarding errors in client Application to invoke the webservices
hi,
i am using weblogic workshop to develop webservices on weblogic server8.1
i develop webservice and wsdl file also
but when i am writing dynamic client application to invoke the webservice( particular method)
then it gives error like this
javax.xml.rpc.JAXRPCException: failed to invoke operation 'requestContactList' due to an error in the soap layer (SAAJ); nested exception is: Message[ failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:requestContactList}]StackTrace[
javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:requestContactList}
at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:332)
at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:297)
at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.java:645)
at weblogic.webservice.core.ClientDispatcher.send(ClientDispatcher.java:206)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:143)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:471)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:566)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:419)
at test.Client.main(Client.java:57)
Caused by: weblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://www.openuri.org/']:requestContactList}
at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(RuntimeUtils.java:151)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:187)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(RuntimeUtils.java:174)
at weblogic.webservice.core.DefaultPart.invokeSerializer(DefaultPart.java:328)
... 9 more
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:586)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:419)
at test.Client.main(Client.java:57)
Debugging Finished
Exception in thread "main"
my client program is
import java.net.URL;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Service;
import javax.xml.rpc.Call;
import javax.xml.rpc.ParameterMode;
import javax.xml.namespace.QName;
* This class demonstrates a java client invoking a WebService.
* @author Copyright (c) 2005 by BEA Systems, Inc. All Rights Reserved.
public class Client {
public static void main(String[] args) throws Exception {
// Setup the global JAXM message factory
System.setProperty("javax.xml.soap.MessageFactory",
"weblogic.webservice.core.soap.MessageFactoryImpl");
// Setup the global JAX-RPC service factory
System.setProperty( "javax.xml.rpc.ServiceFactory",
"weblogic.webservice.core.rpc.ServiceFactoryImpl");
// create service factory
ServiceFactory factory = ServiceFactory.newInstance();
// define qnames
String targetNamespace =
"http://www.openuri.org/"
+ "wsdl/http://192.168.2.98:7001/ContactListWeb/ContactListJWS/ContactTest.jws";
QName serviceName =
new QName(targetNamespace,
"ContactTest");
QName portName =
new QName(targetNamespace,
"ContactTestSoap");
QName operationName = new QName("targetNamespace",
"requestContactList");
URL wsdlLocation =
new URL("http://192.168.2.98:7001/ContactListWeb/ContactListJWS/ContactTest.jws?WSDL");
// create service
Service service = factory.createService(wsdlLocation, serviceName);
// create call
Call call = service.createCall(portName, operationName);
// invoke the remote web service
String result =(String)call.invoke(new Object[] {
"BEAS"
System.out.println("\n");
System.out.println("This example shows how to create a dynamic client application that invokes a non-WebLogic Web service.");
System.out.println("The webservice used was: http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl");
System.out.println("The quote for BEAS is: ");
System.out.println(result);
}Hi I am also facing the issue. If any one got the solutoin for this please post it
Thanks
Kaal -
Invoking a webservice from a servlet
Hi,
I am able to invoke a webservice using a Standalone java program. I am using the below command to invoke the web service.
java com.javasrc.webservices.age.AgeServiceClient -lhttp://localhost:8080/axis/services/AgeService "Siva" 33
Now if I write the whole code in a method I am not able to retreive the values into the servlet. Can any please suggest me how to invoke a web service from a servlet/JSP. Please tell if there any sites for this.
Here is my Client code:
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
public class AgeServiceClient
public static void main(String [] args)
try
Options options = new Options(args);
String endpointURL = options.getURL();
String name;
Integer age;
args = options.getRemainingArgs();
if ((args == null) || (args.length < 2))
name = "NoName";
age = new Integer( 0 );
else
name = args[ 0 ];
age = new Integer( args[ 1 ] );
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpointURL) );
call.setOperationName( new QName("http://age.webservices.javasrc.com", "age") );
call.addParameter( "arg1", XMLType.XSD_STRING,ParameterMode.IN);
call.addParameter( "arg2", XMLType.XSD_INT, ParameterMode.IN);
call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING);
String ret = (String) call.invoke( new Object[]{name,age});
System.out.println("Age result : " + ret);
catch (Exception e)
System.err.println(e.toString());
Thanks in advance
PrashanthThis is very simple maybe you don't have servlet experience.
Simply you create a servlet and put your client main method in another one (not static method) + importing jar of your client and other associated jar files in WEB_INF\lib folder of servlet.
check for helloworld servlet then you can implement servlet for your client. -
Invoking a webservice using WSIF Binding
Hi All,
I have few queries regarding usage of WSIF Binding in BPEL
My understanding was it is useful for calling Java Classes from BPEL Process.
Can I use WSIF Binding for invoking the webservice ?
Or the use of WSIF Binding is limited to invoking Java classes.
If we can invoke web service , Can you please let me know how to do it?
you can mail your replies to [email protected]
Any help will be immensely appreciated..
Regards,
BhanuFirst of all thanks to Jens and clemens.
From both of your replies, i learnt that we can call webservice from BPEL process using WSIF binding .
Can you provide me a bpel sample where we're using wsif binding for invoking web service?
I have one more doubt:
"WSIF java binding means, which was used to call java classes. WSIF soap binding used to call web services"
Is my understanding correct?
Can you explain a bit on WSIF Java binding?
Regards,
Bhanu -
Invoking a webservice from Oracle ODI 11.1
Hello there, new to this forum but I am having trouble invoking a webservice from a package within ODI. The error message I am recieving is as follows.
com.sunopsis.wsinvocation.SnpsWSInvocationException: javax.xml.ws.WebServiceException: java.lang.ExceptionInInitializerError
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:73)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1235)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:139)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:279)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.xml.ws.WebServiceException: java.lang.ExceptionInInitializerError
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:188)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1237)
... 6 more
Caused by: java.lang.ExceptionInInitializerError
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:173)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1235)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
... 1 more
Caused by: java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.<clinit>(SOAPFaultBuilder.java:533)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:173)
at com.sun.xml.internal.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:195)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsClientImpl.requestReply(OdiJaxwsClientImpl.java:66)
at oracle.odi.wsinvocation.client.impl.jaxws.OdiJaxwsOracleClientImpl.requestReply(OdiJaxwsOracleClientImpl.java:44)
at com.sunopsis.graphical.wsclient.RequestWsPane$11$1.doInBackground(RequestWsPane.java:1237)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:139)
at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:279)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
... 1 more
Eventually, I would like to query a documentum DB but I can't get a simple webservice call to work correctly. Any help will greatly be appreciated.This forum is about Oracle Database. not about Oracle Data Integrator.
Kindly post in the correct forum https://forums.oracle.com/forumID=374
Sybrand Bakker
Senior Oracle DBA -
How to invoke a webservice in the middle of a BPM process
I use BPM studio to create processes.
In the middle part of the BPM process, it need to invoke a web service (an ADF project deployed to weblogic as a web service). Then, it will wait.
After the process is finished, it will invoke another web service (an ADF project deployed to weblogic as a web service).
How to invoke web services in and after the process?
Thank you.Hi,
Thanks for your reply. I use BPM studio 10.3
In the Catalogue, there are 3 default components which are Fuego, Java, and Plumtree.
In the Fuego, there is an item of WebServices. In the Plumtree, there is an item named WebServiceProperty.
If I create a new Module, I cannot find the option of web service.
How to invoke a webservice (ADF/Java web service developed in Jdeveloper deploy to weblogic ) ?
Thanks. -
Easier option for invoking external webservice
Hi,
what is the easy way to test invoking a nonSAP webservice (to which we give request and expect response).
i did file to soap scenario using bpm,
and i used file to soap using adapter module.
but both are bit lengthy procedure to check if we can invoke the webservice thru PI.
is there any other mechanism, or any other adapters that we can use to send the request and get the response from nonSAP webservice provider.hi,
>>>is there any other mechanism, or any other adapters that we can use to send the request and get the response from nonSAP webservice provider.
not anything that would not involve using adapters...
>>>but both are bit lengthy procedure to check if we can invoke the webservice thru PI.
but they both take less then 30 mins to develop & check (without a BPM even less)...
Regards,
Michal Krawczyk
Maybe you are looking for
-
Stream Audio From iPhone 3GS To MacBook Pro
Is it possible to stream audio from an iPhone 3GS (playing in the iPod app) to a MacBook Pro over Bluetooth, so that the music plays through the MacBook's internal speakers? Obviously you could just connect the headphone socket of the iPhone 3GS to t
-
is Here, here is my post in the MBPro section, but I feel this section has the widest brain power ~ here goes:- my late 09 Matt 17"MBPro & early 09 Macbook have after the 1st (iTunes) 2/1/10 update been acting up:- Everything on/in iTunes has come fr
-
On iCal a MacBook receives this error: Access to "lou's diary" is not permitted The Server responded: "HTTP/1.1 403 Forbidden To Operation CalDAVAccountRefreshQueueableOperation This error is received when refreshes her iCal diary
-
how can i open more than 9 windows under safari
-
HT1688 Iphone 5 keeps randomly rebooting.
My iphone starting randomly rebooting yesterday. The problem has continued today. It also seems to show fluctuating battery life on the screen. It varies when it reboots.