Problem in testing the Webservice interface?
Hello All,
I created and deployed one webservice in the Xi system and SAP communication done using the RFC.
same like below link.
http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-i/technology/sap/6/
but now problem is the external system is not ready to test the interface, i need to test the interface from the XI end.
How to test the scenario using other then XMLspy and SOAPUI?
Thanks and Regards,
Chinna
Dear Chinna,
Is your requirement to make full end-to-end test or make a simulation?
If you need simulation only, then PI's functionality available in Runtime Workbench and Test Confiuration tool available in Integration Builder and mentioned by Abhishek is OK.
In case the requirement is to make end-to-end test, I would suggest to use external SOAP client software in order to generate SOAP requests and send them to PI. Please advise why XML Spy and soapUI do not suit you? Actually, you can use any software which can generate SOAP request, send it to the specific endpoint and handle response.
My regards,
Vadim
Similar Messages
-
Problem in testing the webservice.
Hi friends,
I have created a webservice in one client and tested the same and its working fine, when i try to test the same webservice in another client , it is throwing an error "Envelope not found. Probably empty soap message.".
-->Is webservice client dependent?
-->What are the prerequisites need to be done when we want to test the webservice in a different client other than where it is actually created.
please provide me some information about this.
Thanks in advance.
Sravani.Hi Sravani,
The following SAP Note might be helpful:
[1396825|https://service.sap.com/sap/support/notes/1396825] "Empty HTTP POST requests to Java web services fail"
Best regards,
Andreas -
Getting error when testing the webservice in webservice navigator
hello experts,
i created the rfc for to delete the calender appointments it was working fine and i created the webservice for this . when i'm trying to test the webservice with ws navigator i can insert the values on request screen , but result is this error.
webservice response :
HTTP/1.1 200 OK
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 481
sap-srt_id: 20110721/115816/v1.00_final_6.40/D40C9E37E8642547AA79FB54A42976E7
server: SAP Web Application Server (1.0;700)
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><n0:YAPPT_DELETE_N_T2Response xmlns:n0="urn:sap-com:document:sap:rfc:functions"><ERROR_MSG><MSG_ID>BC</MSG_ID><MSG_TYPE>E</MSG_TYPE><MSG_NUMBER>020</MSG_NUMBER><MSG_VAR1>D</MSG_VAR1><MSG_VAR2></MSG_VAR2><MSG_VAR3></MSG_VAR3><MSG_VAR4></MSG_VAR4><FIELDNAME>MAINT_INDI</FIELDNAME><TABLEINDEX>000001</TABLEINDEX></ERROR_MSG></n0:YAPPT_DELETE_N_T2Response></soap-env:Body></soap-env:Envelope>
can anybody guide me how to rectify this problem .help will be greately appreciated.
thanks for coming help
regards,
sashi.hello madhu,
i have got the sollution. in the webservice i'm giving the input (03D86AFB7EE7D14585EF515C59B5F559) same as in data base .while testing the webservice internally the value should be converted into bytes bcoz in the domain the data type was RAW .
so db didnt recognise that value thats why i got the error.
so i use the fm GUID_CONVERT and convert that as db format
thanks for ur response .
regards,
sashi. -
Invoke BPEL process with the webservice interface
I'm using Oracle BPEL PM 10.1.2.x.
Follow the example comes with the BPEL PM, i can invoke the BPEL process in a J2EE project (with the webservice interface). The example named "UseStockReviewSheet".
Then i tried to invoke the BPEL process i designed with Eclipse BPEL Designer. The version of BPEL designer for Eclipse is 0.9.13.
I failed and got following errors:
09/03/17 16:55:53 com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.
xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
messageType: {null}
parts: {{summary=<summary>变量/表达式结果为空.
尝试读取/复制第 50 行的 xpath 变量/表达式 "bpws:getVariableData('input','payload
','/tns:CreditFlowRequest/tns:input')" 时, 发现为空。.
请确保变量/表达式结果 "bpws:getVariableData('input','payload','/tns:CreditFlowRe
quest/tns:input')" 非空。.
</summary>}}
09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.checkEx
pressionFromValue(BPELAssignWMP.java:972)
09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFro
mValue(BPELAssignWMP.java:504)
09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__execu
teStatements(BPELAssignWMP.java:122)
09/03/17 16:55:53 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perfo
rm(BPELActivityWMP.java:188)
09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.performActivity(Cu
beEngine.java:3408)
09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(Cub
eEngine.java:1836)
09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.message.instance.Per
formMessageHandler.handleLocal(PerformMessageHandler.java:75)
09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
eLocalMessage(DispatchHelper.java:166)
09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendM
emory(DispatchHelper.java:252)
09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEng
ine.java:5438)
09/03/17 16:55:53 at com.collaxa.cube.engine.CubeEngine.createAndInvoke(Cu
beEngine.java:1217)
09/03/17 16:55:53 at com.collaxa.cube.engine.delivery.DeliveryService.hand
leInvoke(DeliveryService.java:511)
09/03/17 16:55:53 at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.han
dleInvoke(CubeDeliveryBean.java:335)
09/03/17 16:55:53 at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.
handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796)
09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.message.invoke.Invok
eInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.DispatchHelper.handl
eMessage(DispatchHelper.java:125)
09/03/17 16:55:53 at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.
process(BaseScheduledWorker.java:70)
09/03/17 16:55:53 at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage
(WorkerBean.java:86)
09/03/17 16:55:53 at com.evermind.server.ejb.MessageDrivenBeanInvocation.r
un(MessageDrivenBeanInvocation.java:123)
09/03/17 16:55:53 at com.evermind.server.ejb.MessageDrivenHome.onMessage(M
essageDrivenHome.java:755)
09/03/17 16:55:53 at com.evermind.server.ejb.MessageDrivenHome.run(Message
DrivenHome.java:928)
09/03/17 16:55:53 at com.evermind.util.ReleasableResourcePooledExecutor$My
Worker.run(ReleasableResourcePooledExecutor.java:186)
09/03/17 16:55:53 at java.lang.Thread.run(Thread.java:534)
<2009-03-17 16:55:53,640> <ERROR> <default.collaxa.cube.xml> com.oracle.bpel.cli
ent.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-proce
ss/}selectionFailure}
messageType: {null}
parts: {{summary=<summary>变量/表达式结果为空.
尝试读取/复制第 50 行的 xpath 变量/表达式 "bpws:getVariableData('input','payload
','/tns:CreditFlowRequest/tns:input')" 时, 发现为空。.
请确保变量/表达式结果 "bpws:getVariableData('input','payload','/tns:CreditFlowRe
quest/tns:input')" 非空。.
</summary>}}
I can invoke my BPEL process in BPEL console, not in J2EE project. bpws:getVariableData('input','payload','/tns:CreditFlowRequest/tns:input')" is null.
The error message contains some Chineses word. I'm new to BPEL, hope someone can give me a hint on how to solve this problem.
Thanks a billion!
--Sunny 2009-3-18Following is the java class invoking BPEL process with the webservice interface.
package com.otn.samples;
import javax.xml.namespace.QName;
import javax.xml.rpc.JAXRPCException;
import javax.xml.rpc.ParameterMode;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceException;
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.encoding.XMLType;
import javax.xml.rpc.soap.SOAPFaultException;
import org.apache.axis.client.Call;
* @version 2.0 $Date: 07-mar-2005.05:07:45 $
* @author Copyright (c) 2004 by Oracle. All Rights Reserved.
public class CreditFlowClient
private static QName SERVICE_NAME;
private static QName PORT_TYPE;
private static QName OPERATION_NAME;
private static String SOAP_ACTION;
private static String STYLE;
private static String THIS_NAMESPACE = "http://samples.otn.com";
private static String PARAMETER_NAMESPACE = "http://samples.otn.com";
private String location;
static
SERVICE_NAME = new QName(THIS_NAMESPACE,"CreditFlow");
PORT_TYPE = new QName(THIS_NAMESPACE,"CreditFlow") ;
OPERATION_NAME = new QName(THIS_NAMESPACE,"creditFlowRequest");
SOAP_ACTION = "initiate";
STYLE = "wrapped";
public void setLocation(String location)
this.location = location;
public void initiate(String ssn)
try
/* Create Service and Call object */
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service service = serviceFactory.createService( SERVICE_NAME );
Call call = (Call)service.createCall( PORT_TYPE );
/* Set all of the stuff that would normally come from WSDL */
call.setTargetEndpointAddress( location );
call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
call.setProperty(Call.SOAPACTION_URI_PROPERTY, SOAP_ACTION);
call.setProperty( Call.OPERATION_STYLE_PROPERTY , STYLE );
call.setOperationName(OPERATION_NAME);
call.addParameter(new QName(PARAMETER_NAMESPACE,"ssn"), XMLType.XSD_STRING, ParameterMode.IN);
Object[] params = new Object[1];
params[0] = ssn;
/* Invoke the service */
call.invokeOneWay(params);
System.out.println( "CreditFlow BPEL process initiated" );
catch (SOAPFaultException e)
System.err.println("Generated fault: ");
System.out.println (" Fault Code = " + e.getFaultCode());
System.out.println (" Fault String = " + e.getFaultString());
catch (JAXRPCException e)
System.err.println("JAXRPC Exception: " + e.getMessage());
catch (ServiceException e)
System.err.println("Service Exception: " + e.getMessage());
public static void main(String[] args)
String ssn = "12-123-126";
String location = "http://localhost:9700/orabpel/default/CreditFlow";
CreditFlowClient client = new CreditFlowClient();
if(args.length == 1)
ssn = args[0];
else if(args.length ==2)
location = args[0];
ssn = args[1];
client.setLocation( location );
client.initiate( ssn );
------------------------------------------------------------------- -
Error while testing the webservice through SOAMANAGER
Hi All,
I have created a webservice from a Function module ( RFC enabled). I am getting an error while testing the webservice from the SOAMANAGER but the function module is working fine giving proper output.
The error is
REQUEST:
POST /sap/bc/srt/rfc/sap/zws_test_cms_bp_fac/600/zws_test_cms_bp_fac/zws_test_cms_bp_fac HTTP/1.1
Host: ed1app.corp.fcc.ca:49000
Content-Type: text/xml; charset=UTF-8
Connection: close
Authorization: <value is hidden>
Content-Length: 654
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"><enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body><ns1:ZSRAV_TEST_CMS_BP_FAC xmlns:ns1='urn:sap-com:document:sap:rfc:functions'><IT_BP_LIST><item><BP_NUMBER>9999990013</BP_NUMBER></item></IT_BP_LIST><IV_COMPANY_CODE>FCC</IV_COMPANY_CODE></ns1:ZSRAV_TEST_CMS_BP_FAC></SOAP-ENV:Body></SOAP-ENV:Envelope>
RESPONSE:
HTTP/1.1 500 CX_ST_REF_ACCESS:XSLT exception.An error occurred during serialization in the simple transformation program /1BCDWB/WSSE2B50F3FDFC9C2A94B7.Access to the table ref. node 'ZSCMS_FAC_CAG_DETAILS' outside a loop
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 0
accept: text/xml
sap-srt_id: 20100202/041112/v1.00_final_6.40/4B67E41A4BC41B7CE10000000A013104
server: SAP Web Application Server (1.0;700)
please do the needful.
Thanks in advanceHi,
Here is a very smart tool for webservice test:
[soapUI|http://www.soapui.org/]
It works fine for me!
bg,
attila -
How to use InfoPath to test the Webservice
Hi,
I have WSDL file , i want to test the webservice after creating it using infopath.
Please give me some info how to create Webservice using MicroSoft InfoPath.
Thanks,
SivaHi,
This might help you
/people/durairaj.athavanraja/blog/2004/09/07/microsoft-office-2003-infopath-sap-rfcwebservice
Regards
Agasthuri Doss -
Error while testing the Webservice
HI,
When I Tried the Same It is showing an Error"Error in Sending the Soap Data"
When i teted the configuration it is showing an error in message interface,but is there and running fine when tested
Hi,
When I am Testing the same in the Altova,I am Getting an error as Below
"<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>System Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context/>
<code>RCVR_DETERMINATION.MESSAGE_INCOMPLETE</code>
<text>Message is incomplete. No Sender found</text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
I Configured all the Required in Id and Tested the Design in the IR.
Thanks,
SrinivasaHi Srinivas,
Check these threads..
RCVR_DETERMINATION: MESSAGE_INCOMPLETE
BPM Message is incomplete. No Sender found
cheers,
Prashanth
P.S Please mark helpful answers -
Problems while calling the webservice published at XI end
Hi ,
I have published a webservice at the XI end and to test it I am calling the webservice from xmlspy .
I do get the popup for username and password in the xmlspy for the adapter but it fails to send the data to the webservice .
I even checked the SOAP adapter status in the RWB and its grey. and the installed and started option of adapter monitoring the soap adapter is not shown .
Can anyone through some light as to what can be the reason behind this .
is it the problem with the adapter or the webservice
Thanks
NikhilHI Ricardo ,
I have tried that but still I am getting the below error.
<b>java.lang.Exception: Channel not found for :SIEBEL_DEV:SIEBEL_SOAP in SOAP
at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)
at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
</b>
any other Ideas.
Thanks
Nikhil -
Problem in using the Unreferenced interface
I let my RemoteObject to implement the Unreferenced interface to handle with the unexpectly abort client. but I have a question about how to use such interface in my remote object.
My first thought about it is simple :
class RemoteObject extends UnicastRemoteObject implements Unreferenced {
public long lock(final int recno) {
this.lockedRecNo = recno;
this.lockCookie = LockManager.getInstance().lock(recno);
return lockcookie;
public void unreferenced() {
this.unlock(this.lockedRecNo, this.lockCookie);
}I think it is absolutely wrong under such scenario, since the unreference does not take effect immediately and we surely have only one RemoteObject, during this time. someother client may lock on other records, When performing the unreferenced, we may work on the incorrect record number and cookie.
Then I improved it as
class RemoteObject extends UnicastRemoteObject implements Unreferenced {
private HashMap lockedRecord = new HashMap();
public long lock(final int recno) {
this.lockedRecNo = recno;
this.lockCookie = LockManager.getInstance().lock(recno);
lockedRecord.put(new Integer(recno), new Long(lockCookie))
return lockcookie;
public void unlock(final int recno, final int cookie) {
LockManager.getInstance().unlock(recno, cookie);
lockedRecord.remove(new Integer(recno));
public void unreferenced() {
//get all that haven't released lock from the HashMap
//do a loop
**loop** {
this.unlock(this.lockedRecNo, this.lockCookie);
}There are still some problems. maybe when we are executing the unreference, there is a client who are holding a lock and doing the update action, then we may wrongly release his lock.
I can not figure out a good enough way to handle this. can any one help me on this. thx in advance.Hi.. Actually, it is not part of the[b] real world problem, I just want to provide a way to clean up the staleness record. If considering this. do you guys thing the approach 2 of the first posting is a way(maybe not a good way), except I should change the hashmap to hashtable to avoid the concurrent accessing... appreciate for any reply from u.
-
Hi All,
I need to test the existing webservice in the "ESWORKPLACE", for this i have selected a webservice with the following URL
http://erp.esworkplace.sap.com/sap/bc/srt/wsdl/sdef_ECC_SALESORDER002QR/wsdl11/ws_policy/document?sap-client=800
To test the same i used the Webservice navigator in the ESWorkplace which is asking for Userid/password for the server "SAP WebApplication Server [HU2]"
Please let me know how to take it forward.
Thanks
vijayHi Vijay.
You need to register yourself at https://www.sdn.sap.com/irj/sdn/soareg to consume those services at ES Workplace.
I recommend you this blog for better understanding and use of the ES Workplace and SOA itself: https://www.sdn.sap.com/irj/sdn/soa
Also check this blog: /people/volker.haentjes/blog/2009/05/07/latest-news-from-es-workplace
Regards,
Darwin -
When you connect the audio interface to usb or firewire grained acoustic distortion, there is no loud noise in the acoustics! In the old "iMac24 Snow Leopard" was not like this!
Just bought the iMac21 lion, installed the new drivers and the two interfaces of different firms is presented, this acoustic problem.
I understand it comes from a usb and firewire!?
Help Me_____
Sorry for my englishWell, it's been a few days and with no response I thought I'd look for another solution. I've been trying this software called iVPN, apparently it's like a front-end to OS X's built-in VPN server. Anyway, I disabled the VPN Server from the Server app, turned on iVPN and was VPN-ing from my iPhone over 3G in notime. It's a great app, though it kinda ***** that the server can't do what it's built to do. Since VPN was the big reason I got Server in the first place, I'll probably uninstall it and stick with OS X's built-in file sharing and iVPN.
-
Problem in Testing the Query Template
Hi All,
I created mysql connection in the Dataservers and connection status was successful.we created FixedQuery(Fixed Query is SQLQuery Template type) in the query template editor.when i am trying to test the sql query "select * from emp" it is not displaying any result template.But sql query is working fine we tested in MYSQL server console.
please do the need ful
Regards
Srikanth MHi,
I written fixed sql query(select * from emp) in the query tab,When i select the "Test" button one window is opening ,text/html selected and submited "OK" button .It is not opening any result template in the browser.
Regards
Srikanth -
Problem when invoke the Webservice WSDL
Hi ,
Use case :
I have two applications (Webservices) A and B.They have their own WSDL urls.
From A ---> request format at A ---->Transform that into B request format----->forward that(request) to B request --- > get B response -----> tranfrom that into A response format ----> A response
First part of usecase:
I need to send the request from A to B.But both A and B has different request and response schemas(they will have similar kind of fileds but their naming convention will be different.That is why transformation is required in jdeveloper)
I have developed a composite which has one BPEL process as component.
I am placing the A webservice as "exposed Service" swimlane and B webservice in 'external reference'.BPEL process is in component swimlane.
I deployed that Composite which has above BPEL Process(Takes input from one wsdl url and transforms that request format to (another) webservice request format as explained above) which tries to invoke(send request to) the another webservice Wsdl.
When I test that composite (That WSDL url),I am getting service invokation exception.
Please see the below exception:
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) 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:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:765) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:305) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) 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.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) 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:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136) 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.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:992) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:729) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 79 more Caused by: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:837) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 82 more Caused by: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:231) at oracle.j2ee.ws.common.transport.HttpTransport.transmit(HttpTransport.java:75) at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:64) at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:134) at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:90) at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:273) at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:94) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:794) ... 85 more Caused by: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.processHttpResponseCode(HttpSOAPConnection.java:633) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.post2(HttpSOAPConnection.java:501) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection$PrivilegedPost.run(HttpSOAPConnection.java:1261) at java.security.AccessController.doPrivileged(Native Method) at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:229) ... 92 more
I am getting "Webservice invokation failed" message and above exception.
I am using some proxy server to access internet in my company. It is telling(If u see above exception u will be able to see) the below info in some part of exception.
javax.xml.soap.SOAPException: Bad response: 401 Unauthorized at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at
Is there any problem with authentication to that wsdl url?
I think u can understand my problem by looking at above clearly explained content.
Hope u guys will help me out in this issue?
Thanks in advance.
Hope I will receive response as soon as possible as it is very critical at this point.
ThanksHi,
Some part is requiring authentication, either the proxy or the web service provider. First thing is to determine which of them.
Are you able to call B via SOAP-UI? Are you passing authentication in SOAP-UI? If not the problem is in you proxy server.
Check 401 error here:
http://www.checkupdown.com/status/E401.html
Cheers,
Vlad
Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this answer is helpful, please consider giving points. -
Error 503--Service Unavailable. Error while Test the webservice
Hi...
I created a webservice and deply it into a remote weblogic server. It deployed there and when I click on Test client, it shows this error.
Error 503--Service Unavailable
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.4 503 Service Unavailable
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.
How we can rectify this.
hope for a reply...
Resmi.Check the WLS server log files for a more detailed error (stacktrace).
Timo -
Error while testing the Webservice created from RFC enabled function module
Our client has provided the SAP WSDL URL and We tried to generate stub using AXIS 2 tool from this SAP WSDL URL and got u201Cservice and binding tagu201D missing error.
It seems that clients SAP wsdl file is having only web service interface information and does not have Access Description i.e service and binding tag information .
Is it mandatory to have service and binding tag in SAP wsdl to consume webservice from third party java application ?
Could you please let us know how to resolve this error?
<urgency removed by moderator>.
Thanks ,
Ranjit
Edited by: Thomas Zloch on Mar 25, 2011 1:16 PMHi,
I think you might have received wrong WSDL.
In transaction SOAMANGER for a WebService you can select:
Porttype WSDL document
or
WSDL document for selected binding or service -> for a concrete binding
You need to get the second one which contains service and binding information. The first one is just interface description.
Maybe you are looking for
-
hello i hav an ipad mini and i was in the middle of the ios 8 update and i held the sleep and home button at the same time to cancel the update and now it wants me to connect to itunes i dont no how to do that can someone pleaze help me?
-
Do I have to purchase Numbers 09 for both Mac OS X computers?
Do I have to purchase Numbers 09 for both Mac OS X computers on the same network?
-
Hi, we encounter some exceptions trying to serialize a JTable to XML: java.lang.NoSuchMethodException: javax.swing.plaf.basic.BasicTableUI$PropertyChangeHandler.<init>() at java.lang.Class.getConstructor0(Class.java:1930) We already patched the
-
EPub books not syncing between Maverick iBooks and iPad
The books on my Mac won't sync to my iPad. I can read them fine on my laptop but can't transfer them. I tried moving the files to ~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books as was suggested somewhere here but they still
-
REP-1510 error in matrix report
Hi, In my matrix report,I need to calculate a column based on the formula columns in other matirx groups.I know the reason for this error.(Formula column in one group should be based on the values in the same group). But I dnt know how to arrive at t