Testing a webservice in CE 7.1EHP1 WS Navigator
Hi,
We are testing a webservice : Create Document (WSDL : http://<host Name>:<Port_name>/sap/bc/srt/xip/sap/ECC_DOCUMENTCRTRC?sap-client=100&wsdl=1.1) using Web service Navigator on CE 7.1 EHP1.
The error message we get in the result is "Exactly-once request cannot be locked: ED04E745F8164620BA21FD7F12F528E0 (error code: Could not find configuration entry for client 100)".
However the read document service is executing successfully.
Please help us in this.
Regards,
Sharath
Dear Eduardo,
Please find the documentation of this service in the ES workplace:
[http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?id=C9D8D507713F11DA36BB000F20DAC9EF&fragID=&packageid=DE0426DD9B0249F19515001A64D3F462&iv=]
updated version:
[http://esworkplace.sap.com/socoview%28bD1lbiZjPTAwMSZkPW1pbg==%29/render.asp?sap-unique=210323&sap-params=aWQ9MjgyOEFDODAwREREMTFEQzJCMjQwMDBGMjBEQUM5RUYmYW1wO3BhY2thZ2VpZD1ERTA0MjZERDlCMDI0OUYxOTUxNTAwMUE2NEQzRjQ2MiZwYWNrYWdlaWQ9REUwNDI2REQ5QjAyNDlGMTk1MTUwMDFBNjREM0Y0NjI%3d]
Cheers,
Martin
Similar Messages
-
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. -
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 -
Error While testing SAP Webservice build by RFC enabled function Module
Hi All,
Iam getting an error " You are not authorized to view the requested resource"., while Iam testing SAP Webservice using transaction WSADMIN or SOAMANAGER.I have succesfully tested for WSDL and done with required configurations and settings.
Can any help me with this ?Hi Friends ,
My problem got solved , I added SAP_J2EE_ADMIN role to my profile and it worked.
enjoying...
Edited by: Sridhar Maheswar on Jun 20, 2008 1:21 PM -
How to test Siebel webservice in Jdeveloper that uses Authentication?
Hi..
I am testing siebel webservice in Jdeveloper 11.1.1.5 by right clicking on WSDL n using "Test webService".But it is giving 500:internal server error..I tried everything..basically i have to pass username password in authentication.I have tried "Authorization-basic" and also tried vis "SOAP Headers > :WS-Security:Header" but of no use.I also tried the above mentioned way.."security-role-assignment" in web.xml and weblogic.xml but that is also not working.The webservice is working fine on SOAPUI but not wroking on Jdeveloper.Is there anything that Iam missing in configuration part...or in HTTP analyzer?? Please help.
Thanks!In transaction SICF you could enter a (system) user for your webservices so that you won't require authentication. (However, you should check if this is a good and valid option in the context of your application.)
In addition, you can provide your SAP credentials (username, password) within Adobe Flex itself. Read more about the "URLRequestHeader" function. -
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 -
Testing my WebService through WSADMIN I am getting java.rmi.RemoteException
Hello,
I am testing my WebService with name ZEDI_GET_TPDATA_WSD through WSADMIN. It opens the WebService Home Page.
Overe there I put my User Name and Password.
Then I click on Test. But when I click on Operations
"ZediGetTpdata (test.types.p1.ZediGetTpdata parameters)".
It gives me below error
Cannot find operation: wsdl = http://zhmscaqb.whirlpool.com:7992/sap/bc/srt/rfc/sap/ZEDI_GET_TPDATA_WSD?sap-client=800&wsdl=1.1, endpoint = ZEDI_GET_TPDATA_WSDSoapBinding, operation = public abstract test.types.p1.ZediGetTpdataResponse test.ZEDI_GET_TPDATA_WSD.zediGetTpdata(test.types.p1.ZediGetTpdata) throws java.rmi.RemoteException,test.ZediGetTpdataRfcException
Pls suggest.
Regardswhat is ZEDI_GET_TPDATA_WSD ?
is it a web service developed in java or is it a RFC exposed as a web service? -
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 -
Continous Authentication Popup for PI server while testing ABAP webservice
Hi All,
While testing ABAP webservice,authentication window for PI server pops up continously.
I have created web service from SE37 for Z function module which is remote enabled.
I can see that service and endpoint is created automatically.
I have also given PI server credentials in SOAMANAGER->Technical Configuration->System Global settings->Access Information J2EE server.
Can somebody please help in testing the web service created from FM.
I have already gone through a lot of links but still need your expertise on this.
Thanks in advace,
SaurabhHi
Are you testing through WSNavigator. WSN needs a java stack and you have already set the corresponding setting.
Please check if the User is locked.
I think in gerenral PI credentials will be asked everytime you open WS navigator link.But once you provide the correct user it should not pop up again and u should be able to test.
Regards.
Srinivas -
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 (executing) webservice.
Hi,
I consumed webservice(.net), while executing (testing in test service consumer, se 80) Im getting the following error.
SoapFaultCode:1.
how to resolve this?
Regards,
BrahmajiHi,
What data you are supplying? it could be genuine SOAP fault or some error.
Please test service in WSNAVAIGATOR or SOAPUI first, then we can analyse where the problem is. With test data or connection.
Regards,
Gourav -
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 -
Error when testing a webservice - Exception raised in class CL_SOAP_REGIST
Dear coleagues,
I've got an issue concerning the AS ABAP SOAP Runtime. The system is an ERP 6.0 with SP13.
If I try to test the service in WSADMIN by using the test-button, I just get an exception after the internet browser opens:
A Soap Core Exception was raised in Method CL_SOAP_REGISTRY::generate_wsdl(6)
Technical Details of Soap Core Exception
Message Text: SRT: ASSERT failed: object reference not bound
Class: CL_SOAP_REGISTRY
Method: generate_wsdl
LocationID: 6
Program: CL_SOAP_REGISTRY==============CP
Include: CL_SOAP_REGISTRY==============CM00J
Line: 59
I did a look into the coding and think that the exception is raised since the methode
Hi folks,
I've got an issue concerning the AS ABAP SOAP Runtime. The system is an ERP 6.0 with SP13.
At first I create a Web Service by using the context menue of an existing rfc-enabled function module. Afterwards the service is visible in SICF. If I try to test the service in WSADMIN by using the test-button I only get an exception in the opening internet browser:
Cannot download WSDL from http://serverurl:8027/sap/bc/srt/rfc/sap/ZSTMA_FUNKTIONSTEST2?sap-client=100&wsdl=1.1: Invalid Response Code: (400) Bad Request. The requested URL was:"http://ciswi.sap.swm.de:8027/sap/bc/srt/rfc/sap/ZSTMA_FUNKTIONSTEST2?sap-client=100&wsdl=1.1"
If I go onto the used url I get the following message:
Your request could not be processed
SRT: ASSERT failed: object reference not bound
What has happened?
A Soap Core Exception was raised in Method CL_SOAP_REGISTRY::generate_wsdl(6)
Technical Details of Soap Core Exception
Message Text: SRT: ASSERT failed: object reference not bound
Class: CL_SOAP_REGISTRY
Method: generate_wsdl
LocationID: 6
Program: CL_SOAP_REGISTRY==============CP
Include: CL_SOAP_REGISTRY==============CM00J
Line: 59
I did a look into the coding and found out that the exception is raised since
Hi folks,
I've got an issue concerning the AS ABAP SOAP Runtime. The system is an ERP 6.0 with SP13.
At first I create a Web Service by using the context menue of an existing rfc-enabled function module. Afterwards the service is visible in SICF. If I try to test the service in WSADMIN by using the test-button I only get an exception in the opening internet browser:
Cannot download WSDL from http://serverurl:8027/sap/bc/srt/rfc/sap/ZSTMA_FUNKTIONSTEST2?sap-client=100&wsdl=1.1: Invalid Response Code: (400) Bad Request. The requested URL was:"http://ciswi.sap.swm.de:8027/sap/bc/srt/rfc/sap/ZSTMA_FUNKTIONSTEST2?sap-client=100&wsdl=1.1"
If I go onto the used url I get the following message:
Your request could not be processed
SRT: ASSERT failed: object reference not bound
What has happened?
A Soap Core Exception was raised in Method CL_SOAP_REGISTRY::generate_wsdl(6)
Technical Details of Soap Core Exception
Message Text: SRT: ASSERT failed: object reference not bound
Class: CL_SOAP_REGISTRY
Method: generate_wsdl
LocationID: 6
Program: CL_SOAP_REGISTRY==============CP
Include: CL_SOAP_REGISTRY==============CM00J
Line: 59
I found out that the exception is raised since CL_SRT_WSDL_GEN_FACTORY=>GET_WSDL_GENERATOR doesn't return an instance of the class referring to the interface IF_SRT_WSDL_GEN.
If I test that method in SE24 using the name of the service definition in SE80 for the parameter WSD, the value '1' fpr the parameters TYPE and STYLE, an instance of the class CL_SRT_WSDL11_GEN is rendered.
Could you give any hints how I could debug that issue to verify the import parameters when the static method CL_SRT_WSDL_GEN_FACTORY=>GET_WSDL_GENERATOR is called in the body of the browser call ?
Or any other hints?
Thank you very much and best regards
StefanThe issue was due to missing authorizations of the RFC-user (type 'Communication') calling the webservice. The RFC-user itsself has been assigned before to the webservice in the http-service tree (transaction SICF). RFC-User needs (at least) the role SAP_BC_WEBSERVICE.
-
How to test a webservice scenario...
Hi,
In SAP PI, I need to test a scenario that involves webservice. I can see in Integration directory
that a communication channel has been defined as sender with adapter type as File. So I assume that a file is being picked up
from the FTP server.
Also There is another comm channel of type receiver, adapter type as SOAP with a target URL.
Now I dont know how to test this ? Any pointers how to check
from where this request to webservice is initiated ? I have not worked
on web service scenario before, so need help to understand to test the end to end.
thanksHI
Your's is a file to SOAP scenario, to test this follow this steps:
Now I dont know how to test this ? Any pointers how to check
from where this request to webservice is initiated ?
1. Do you have test data? any file that is archived in sender FTP under archive directory.If not then go to your
mapping progrram->test tab-> fill test data (all mandatory fields)->switch to xml tab- Copy the whole content
->save it in a text pad->see the file name maitained in the sender file adapter->rename the file and place in
the location mentioned in the sender FTP.
2. Check in RWB if the channels is active and you can see the file being picked in the log ,you can see SXMB MONI
also if there is checkerd flag.
3. To see if the soap posing has happened or not you can see the soap channel monitoring in RWB and read the log
or you can confirm the posting with the team which received the data( portal /Webservice).
Regards,
$rinivas -
How to test a webservice as a standalone?
Hi All,
I just wanted to know as to how I could test an XI webservice which accepts messages in soap without having to create a web dynpro component for the same.
Can someone help me with a step by step process to test the service by passing import parameters directly to the service.
Thanks in advance.
Best regards,
DivyaHi Divya,
There are many tools to test webservices.
1. XMlSpy
http://www.altova.com/features_soap.html
2. Parasoft SOATest
http://www.parasoft.com/jsp/templates/ads/google/googlesoap1.jsp;jsessionid=aaabTTtXGGgHP7?redname=googlesoap1&referred=googlesoap1
3. WebserviceStudio(my fav, easy and free)
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
4. SAP SOAP Client
https://www.sdn.sap.com/jws/soapclient.jnlp
cheers,
naveen
Message was edited by: Naveen Pandrangi
Maybe you are looking for
-
Difference Beetween Query Designer and Adhoc Query Designer
Hello! can any one explain me what exactly is Adhoc query designer and how is it different from Bex Query designer. can you please provide me links for Adhoc query designer (not to Bex query designer) with regards ashwin
-
When backing up the Photoshop Elements 11 catalog, what exactly gets saved?
When backing up the catalog, what exactly gets saved? Message title was edited by: Brett N
-
In elements 11 how do I make a finished movie return to the start menu?
In Elements 11 how do I make a finished movie return to the start menu?
-
Setting midi channel for ES2 in logic express 9
i have a track selected with an ES2 patch I can play from my midi keyboard, sounds good and I can see the midi coming in from my midi channel problem is it's not the midi channel i selected in logic for the track it appears everything with logic is i
-
Mini Cooper not working with Lightning 30 pin Adaptor for iPhone5
I have a 2012 Mini Cooper with a "standard" stereo. I used to plug my iPhone 4 into the cord provided by Mini and it played my music & podcasts. Now, with the Lightning to 30 pin Adapter to connect my iPhone5, my music is now only coming out of 1 s