Testing Webservice in 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
Hi,
Please check if the service in Client 100 of the ERP system is active. Please check TCODE : SICF to see if the service is active and try to test the service directly from ERP system. Also ensure of the values passed to the service are correct.
Thanks,
Prakash
Similar Messages
-
Testing WebService through WS Navigator in CE 7.1.1
Hello All,
We have a scenario where the web service in created in ECC and hosted on PI Service Registry.
When we try to test this web service through WS Navigator, I am getting the error
"Invalid Transport binding settings [_confidentiality0210] Expected only one certificate, but recieved 0 "
Any pointers towards this issue would be of great help.
Regards,
ShaileshResolved by service restart
-
Hi,
i have created a webservice and am trying to test it using "test Webservices" option in jdev 11.
When i run it, following is the error i get. I need help resolving it .
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
D:\Jdev\system11.1.1.0.20.46.84\o.j2ee\embedded-oc4j\config>
D:\Jdev\jdk\bin\javaw.exe -client -classpath D:\Jdev\j2ee\home\oc4j.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false -Djava.security.policy=D:\Jdev\system11.1.1.0.20.46.84\o.j2ee\embedded-oc4j\config\java2.policy oracle.oc4j.loader.boot.BootStrap -config D:\Jdev\system11.1.1.0.20.46.84\o.j2ee\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
WARNING: Bulk-load class 'oracle.j2ee.ejb.TimeoutExpiredException' not found in /D:/Jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\Jdev\j2ee\home\oc4j.jar)
Oct 12, 2007 5:51:26 PM oracle.j2ee.util.AnnotatedLogger log
WARNING: The minimum thread pool size must be >= 2. Automatically adjusting minimum and maximum thread pool sizes.
Oct 12, 2007 5:51:31 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
07/10/12 17:51:33 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Alternate DocumentChangeNotifier in use!
07/10/12 17:51:58 java.net.ConnectException: Connection timed out: connect
07/10/12 17:51:58 at java.net.PlainSocketImpl.socketConnect(Native Method)
07/10/12 17:51:58 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
07/10/12 17:51:58 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
07/10/12 17:51:58 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
07/10/12 17:51:58 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
07/10/12 17:51:58 at java.net.Socket.connect(Socket.java:519)
07/10/12 17:51:58 at java.net.Socket.connect(Socket.java:469)
07/10/12 17:51:58 at java.net.Socket.<init>(Socket.java:366)
07/10/12 17:51:58 at java.net.Socket.<init>(Socket.java:208)
07/10/12 17:51:58 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:91)
07/10/12 17:51:58 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postDeploy(Oc4jNotifier.java:75)
07/10/12 17:51:58 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
07/10/12 17:51:58 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
07/10/12 17:51:58 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
07/10/12 17:51:58 at java.lang.reflect.Method.invoke(Method.java:585)
07/10/12 17:51:58 at oracle.j2ee.util.ServerLifecycleClasses.invoke(ServerLifecycleClasses.java:65)
07/10/12 17:51:58 at oracle.j2ee.util.StartupClasses.executeExternalPostDeploy(StartupClasses.java:52)
07/10/12 17:51:58 at oracle.j2ee.util.StartupClasses.postDeploy(StartupClasses.java:69)
07/10/12 17:51:58 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1247)
07/10/12 17:51:58 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:129)
07/10/12 17:51:58 at java.lang.Thread.run(Thread.java:595)
07/10/12 17:52:02 Oracle Containers for J2EE 10g (11.1.1.0.0) initialized
Regards
AshishIn Overview of service in SOAMANAGER you have
Open porttype WSDL document
Open WSDL document for selected binding
Open Web Service navigator for selected binding
The WSDL is a xml file so if you click second link is correct you get xml page. If you want to test the service giving it an input you have to click on third link.
For what about no entry in WSADMIN, I am facing this issue too, but I think it's normal because the complete management of the web service should migrate to SOAMANAGER, being obsolete WSADMIN.
regards
gabriele -
Not able to test webservice through enterprise manager
Hi All,
We have deployed few composites. Deployment was successful. but when we try to test the service using "Test" button in the composite. we are getting an error below the WSDL URL in the Test Webservice page.
Following is the error:
Either the WSDL URL is invalid or the WSDL file is not valid or incorrect. - oracle.sysman.emas.sdk.wsm.WsmServiceAccessException: Cannot locate service: oracle.wsm.policymanager.IPolicyService
I'm able to open the WSDL in browser. We dont have any OWSM policlies set for any of the composites.
When i use the WSDL URL in a partner link, the operation and other properties getting loaded, i/p and o/p elements of the WSDL also getting retrieved.
SOA version: 11.1.1.6
This is applicable for all composites we deployed.
Please help us in resolving this issue.
Regards,
Terry
Edited by: 965185 on Oct 16, 2012 2:05 AMIn my case issue got resolved after I added java.naming.provider.url
Steps:
Log into EM then select the domain in use and use the following the menu path, WebLogic Domain> Web Services > Platform Policy Configuration
From there, select the Policy Accessor tab., then click Add to add a property.
In the Add Property window, specify the following values:
In the Name field, enter this property: java.naming.provider.url
Value: t3://<hostname1>:<port_number>,<hostname2>:<port_number> -
Merging WSDL and sending it to a test webservice
Hi All,
I have four wsdl to merge into a single wsdl and import into XI and use
it a source data type. The wsdl contains different namespaces in it.
Could anyone guide me the procedure step-by-step to do it. Any help is really appreciated. Can I send the merged wsdl through XML spy to a test webservice and test it. How can i create a test webservice to test it.
Thanks
MichaelHi,
To merging, using xml spy you can try it out.
To Test a Webservice refer this blog-
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
Hope this helps,
Regards,
Moorthy -
Issue: Testing Webservice SOAMANAGER
Hi Experts,
I published a WebService in SAP ECC6.0 using a Remote enabled function module which has one input field and Six output fields.
I have Created Webservice using SE37 Tcode.
In ECC 6.0 WSCONFIG,WSADMIN and LPCONFIG Tcodes are obsolete .So i have using tcode SOAMANAGER settings like Applications and Scenario Communications->Single Service Administrater-> link i have searched my newly created Webservice ->Apply settings ->Open Web Service navigator for selected binding -> getting URL and XML code on that..
SOAP processing-> i have created new project and consume the Webservice form here.
issue:
i am facing issue like below some SRT: Authorization Denied. for your referrance i have copied the xml code.
i searched to get resolved the issuse by roles need to added to my userid so i ahve added roles SAP_BC_WEBSERVICE_CONSUMERu2019 to my account but i am facing same issue.
Let me know any configuratons or authorizations we required in my SOAMANAGER to test WS.or How to setup the WSNAVIGATOR for this scenario.
Regards,
Samruth.An alternative is:
use txn WSADMIN and open the node for your web-service. Then, press the 'Rench' button or F8 to open the web based test tool.
You need to provide logon credentials if basic authentication was required for the WS.
Pls reward points if helpful. -
Error while testing webservice using SOAP
Hi,
While i was testing my published webservice using soap-ui it gave me following error,
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Internal SOAP Processing Failure</faultstring>
<detail/>
</soap:Fault>
</soap:Body>
</soap:Envelope>
and in the event log i can see a event as follows and there is no warning or error
Upon investigation i got to know the following steps might solve the problem..i.e..
- Is the receive location for the SOAP webservice enabled? - YES
- Can you browse to (the WSDL of) the webservice? Is displayed correctly? -YES
- Is the webservice configured to run in the correct application pool? -YES
-The user under which application pool is running have the read/write permission on the %temp% folder.-Dont Know how to check
-In IIS,Check the identity of the application pool on which Web service is running and make sure that the user is the member of both “IIS_WPG” and “BizTalk Isolated host users”.
-DONT Know how to check
Please Help me in guiding me in the last two points
and if there are any other solutions for this..
Thanks,
Sarva.You mentioned you checked that the webservice is configured under correct application pool. you can find the user under which the application pool is configured (open iis- > select application pools -> find out the "Identity column" to
know the user for your application pool.
-The user under which application pool is running have the read/write permission on the %temp% folder.-Dont Know how to check
Go to run -> type "%temp%" -> Go one step back -> Right click to the folder -> Properties -> Security -> check the application pool user is present under "Group or user names"
-In IIS,Check the identity of the application pool on which Web service is running and make sure that the user is the member of both “IIS_WPG” and “BizTalk Isolated host users”.
-DONT Know how to check
Refer How to Add Service Account to the IIS_WPG Group to add your application pool user under IIS_WPG. Also similar activity to add your service account to "BizTalk Isolated
host users" if it is local groups. Or Ask your network support team if "BizTalk Isolated host users" is domain group.
Please Help me in guiding me in the last two points
and if there are any other solutions for this..
Thanks,
Sarva.
Your event viewer might have more information pointing exactly what is causing "Internal SOAP processing failure".
Also refer this
which might be helpful for you.
If this answers your question please mark it as Answer and if this post is helpful, please vote as helpful. Thanks ! -
Error testing Webservice in XMLSPY
Hello guys,
I have a scenario Webservice -> XI -> Proxy Synchronous.
I have created the webservice, and the URL is correct. I have a problem in the proxy because is expecting the Message Type and in the XML appears the name of Message Interface.
I have the next XML in XI:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Call Adapter -->
<m:I_Consult xmlns:m="http:/xxxxxxx" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<FIELD1>String</FIELD1>
<FIELD2>String</FIELD2>
</m:I_Consult>
And the message I have in XMLSPY is a Parse Error. In XI monitoring I see the next error:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Inbound Message -->
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>
<SAP:P1>Request Message</SAP:P1>
<SAP:P2>CX_ST_MATCH_ELEMENT</SAP:P2>
<SAP:P3>/1SAI/TXS4C324AF6BDD9E4AD352A</SAP:P3>
<SAP:P4>XML Bytepos.: 304 XML Path: m:I_Consult(1) Error Text: Elemento MConsult previsto</SAP:P4>
<SAP:AdditionalText/>
<SAP:ApplicationFaultMessage namespace=""/>
<SAP:Stack>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_MATCH_ELEMENT; (/1SAI/TXS4C324AF6BDD9E4AD352A XML Bytepos.: 304 XML Path: m:I_Consult(1) Error Text: Elemento MConsult previsto))
Elemento MConsult previsto
</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
The text is in spanish, but I the problem is that R/3 is waiting MConsult (Message Type) despite of I_Consult (Message Interface).
In R/3 I am using the sentence INPUT-MConsult-FIELD1, so I understand that is waiting MConsult in the calling, but I don't understand why when I create the SOAP request in XMLSPY it doesn't appear.
I think all is created correctly in XI including SOAP adapter, and when I define the Webservice i put the message I_Consult with his namespace and I download the WSDL created.
When I test the WSDL in XMLSPY I have this error.
Do you know if I have to do some changes in the WSDL in XMLSPY before to send the SOAP request? I have no access to the WSNAVIGATOR so I can't do the test in this part.
Many thanks in advance.
Regards,
Xavi.Hello guys,
now is running, because I have created a message mapping.
But theoretically if the message from the webservice is the same that goes to the proxy it wouldn't be necessary to create the mapping isn't it?
I don't understand why if I create the mapping is running, and if I do without it is not running because the message send by SOAP is the same and the message types are identhical. Somebody can explain it?
Many thanks.
Regards,
Xavi. -
Tool required to test webservice regarding Webservice to IDoc
Dear All,
Iam dealing with Webservice to IDoc Scenario . I require a tool to test my Web service . Please Do the needful
Thanks & Regards,
KalyanHi kalyan,
u can test using "Altova XML spy" or "Soapui".
Download "Altova XML spy" from the below link.
http://www.altova.com/download/xmlspy/xml_editor_enterprise.html
<u><b>Using XML SPY:</b></u>
Now open XML spy->go to FILE->OPEN->(select ur WSDL)->click on text(see below)->goto SOAP(see above)->create new SOAP request->ok->select MI->ok...
now u will get soap request in XML format.Now again goto SOAP->send request to server.if evrything is correct ...wait smtime u will get ur desire output.
Download SoapUi here below
http://sourceforge.net/projects/soapui/
<u><b>Using SoapUi:</b></u>
Open SoapUi....goto FILE->New WSDL Project->give any suitable name and browse the WSDL->Now drill down ->u will see "request1"->double click on that(here request gets create automatically.->click on the small green triange shape icon above.
Regards
biplab
<i>**reward with points if helpful</i> -
Error testing webservice using ESB with Oracle apps adapter services
When creating a simple ESB project with Oracle Applications adapter service, i get the following error when testing the webservice via EM.
SOA suite 10.1.3.3
oracle EBS 11.5.10
Any pointer on how to fix this is very much appreciated.
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:ESBMessageProcessingFailed</faultcode><detail><EventName>DefaultSystem.GetOrderRS.executeprocedure</EventName><Cause>An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/LoadCustomer_orappdorders/orappd11i.wsdl [ orappd11i_ptt::orappd11i(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'orappd11i' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec due to: Error while setting JCA WSDL Property.
Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
Please verify the spelling of the property.
; nested exception is:
ORABPEL-12532
Error while setting JCA WSDL Property.
Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
Please verify the spelling of the property.
; nested exception is:
org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec due to: Error while setting JCA WSDL Property.
Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpec
Please verify the spelling of the property.
; nested exception is:
ORABPEL-12532
Error while setting JCA WSDL Property.
Property setIRepInternalName is not defined for oracle.tip.adapter.apps.AppsStoredProcedureInteractionSpecFix is as pointed in Error reported during AP Invoice concurrent program.
-
Hi Experts,
How to test the webservice scenario with more than 10 users at a time?
Thanks & Regards
SaraHi Sara,
As u metioned to calculate the CPU utilization for the scenario which are invoked at the same time for more users.We can create multiple users with different user id's
and coming to the point of calculating the CPU usage pls consult ur SAP XI BASIS team they would be helping u out and allow n users to access the service parallel
sara pls chk this link
Good One *********************
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/07ddd490-0201-0010-698b-e240c0f58bbd
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e00ac676-7b92-2910-6b81-dad421126406
http://help.sap.com/saphelp_nw04/helpdata/en/1a/7dc33a0f374932e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a6c4d505211d189550000e829fbbd/frameset.htm
/people/sap.user72/blog/2006/03/22/how-to-stop-xi-server-utilizing-99-cpu-cycles
if found worth pls do the req
ok
Regards
Sampath -
Unable to successfuly test webservice through SOAP UI while the FM works
Hi,
We have recently upgraded to EHP6. We created a few function modules through which web services were created. Now when we test the FM's they work perfectly fine whereas some of the webservices are not responding correctly when being tested thriough an external tool: SOAP UI.
This particular issue is just persisting in case of only a few webservices whereas the others are working perfectly fine. After checking all the configuration seetings (though I am sure they are maintained correctly since some of the webservices are working fine) I have tried regenerating a new service and then going about testing the new wsdl file in SOAP UI but the output is same everytime. I also tried deactivating and reactivating the FM and then creating the wsdl out of the service but nothing seems to work.
How can I test my webservice in such a case and be sure of it to be working correctly?
Kindly help out with this issue.
Regards,
ShivangiHi Shivangi,
What precisely do you mean by the following?
some of the webservices are not responding correctly when being tested thriough an external tool: SOAP UI
Is it like you do not get any response from your web service, or an error response? Or you do receive a response, but it differs from what you get when testing the FM directly in ECC?
In the first case, make sure you have configured your web services correctly in SOAMANAGER (or WSCONFIG + LPCONFIG in case of lower system versions).
In case of the latter, make sure you use statements like "IS INITIAL" or "IS SUPPLIED" correctly, because input parameters may look somehow different in ECC when the FM is executed externally.
You might also want to put an external break point for the user that authorizes your external connections and debug the FM from there to see what's wrong. For this purpose, when displaying your FM, choose: Utilities -> Settings from the top menu, and in the window that appers, go to tab page ABAP Editor, sub-tab page Debugging and type a user for external debugging (it has to be a dialog user), then place an external break point in the code.
Hope this helps,
Greg -
Error when creating Infopath for testing webservice
I have done below steps in Microsoft Infopath
1) i clicked on New form data source infopath
2) selected web service then click next
3) selectec Receve and submit data then click on next
4) specified the http://xidev:8000/sap/xi/engine?type=entry (this URL i got when i created webservice in ID of xi)
when i click next i am getting following error.
<b>could not open http://xidev:8000/sap/xi/engine?type=entry</b>
after i click ok, then again igot the 2nd message
InfoPath cannot find or cannot access the specified web service description
may i know the reason.
thanks
pranai
nullHello Anthes,
Please Check the things in following sequence :
1.Use latest SAPehpi, R3trans and tp versions.
2. users/group authorization issue and/or ownersip limitations (set 777) .Reboot the server to make sure, that the authorisations are updated and there is no lock on a file in the EHPI dir.Repeat the phase.
Folders where permissions should be 777 are Upgrade directory, Data Directory, Cofile directory and .../EPS/in.
3. Source file corruption can be ruled out by execution
R3trans -l /usr/sap/<SID>/..../abap/data/R-700BGINPLMWUI.SAP (The data file corresponding to the Package which is giving error). Check if this ends fine.
Note 2050
4. Confirm that your transport tool is 'healthy' by testing it in STMS. In SPAM in client 000 use the function Disassemble package and enter the package <Package name>.
5. Try to update the kernel if it not helps.
Best Regards
Niraj -
WSADMIN: Test webservice - 403 Forbidden
Hi all,
i want to test some webservice in transaction wsadmin. For this purpose i used the J2EE server of XI.
But after a new support package level of XI i can't test my services any more.
The error: 403 Forbidden
You are not authorized to view the requested resource.
Any ideas?
regardsFound the errror by myself.
The new version of PI needs a special J2EE role. -
Hi All,
I have created a ABAP webservice from Function Module using webservice wizard(se80).
When I am trying to test the webservice( Tcode - WSADMIN ) the page shows
*"Please wait the page is downloading"* and remains in that status.
Please suggest what needs to be done to rectify this problem.
Note: I am new to webservice.
Thanks,
Pooja .you need to have Java stack installed to test web services.
Maybe you are looking for
-
Steadyshot stabilization for video doesnt work since Lollipop update. HELP!
Where should I send information about SERIOUS issue of new Lollipop on XPERIA Z3? Since last update from Kitkat the SteadyShot stabilization for video doesnt work (intelligent mode works standard). Previously great videos are now shaky and simply ugl
-
Has anyone tried using iMac G5 20" as a TV Display? If so, what are your experience? Does it display program in full screen mode?
-
Can I do a firmware update over ssh
I am trying to flash the ROM on my video card in order to get it to work. I have the binary file, and of course the instructions say click on it (of course I have no screen yet). Is there a way to run a binary file at the command line? (it's not an e
-
XP parallels some acceptance situations
I have been using XP in parallels on my macbook pro, some of the software I have to run on it, is brand new chinese control software for LED displays. Some of these products I can run on my XP and some I have to run on a dell, the problem as I see it
-
Hi Gurus, What is significance of post processing in REM? We have 4 options. 1) MF45 u2013 Post process Individual 2) MF46 u2013 Post process Collective 3) MF47 u2013 Post processing list 4) COGI u2013 Post processing individual Compo