on 07-17-2012 10:07 AM
We are implementing the SAP ME RDS and we have done all of the step by PCo uses the below link to communicate to ME. Service: ProductionProcessingClient Can you please show me how I can test the data using the browser or I have the SAP ME guide to Web Services, but is there a more elaborate |
Hi,
If you just need to test the WS, please try sending a request from soapUI.
The response can be checked there too. Additionally, you can check Data Collection Results Report in ME.
I remember there were some bugs in PCo against sending WS requests. Maybe you are using some old version.
Additionally you should change WS protocol from HTTPS (default) to HTTP in NWA - see SAP Note 1604880.
Regards,
Sergiy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can download any freeware version of soapUI (I used 1.7.5).
As to how create a soapUI project and test the WS, please find the instructions here.
Regards,
Sergiy
I am revisiting the WS guide that is offered with the ME installation of 6.0 and I am specfically looking at the SAP Netweaver Configuration section (pgs 16-17).
Individual web services can be viewed and configured using SAP NetWeaver Administrator by
performing the following steps:
1. Log on to SAP NetWeaver Administrator at
http://<AS_Java_HTTP_host>:<AS_Java_HTTP_port>/nwa
2. Choose SOA → Application and Scenario Communication → Single Service
Administration.
3. Choose the Browse tab and choose the Software Components option from the Select
Classification dropdown list.
4. Expand sap.com/VISIPRISE → sap.com/me~ws
I know this guide is intended for ME 5.2 and it s a different Netweaver, but sap.com/VISIPRISE is not available to me. I would like to understand completely about every section of this guide and this section is a minor set back as I would like to know if this has been eliminated with Netweaver 7.3 or what can I do to replicate this?
I would suppose that you are looking at the server where SAPMEINT is deployed, though the webservices are of ME.
Otherwise, if ME is deployed here indeed, you had some problem during deploy of ME and as result the component of ME webservices failed to deploy. Then I would redeploy ME from scratch.
Regards,
Sergiy
SAPMEINT, SAP ME and SAP MII are deployed on the same server and that screen capture was on that particular server. Because of issues with the installation of SAP MEINT, we have un-deployed and re-dployed ME a few times already. Each time MEINT and ME installed without issues. Is there anything else we can do to fix this issue because it seems that every time we un-deploy and re-deploy, there are a lot of dependencies that we have to consider?
We have exactly the same screen you have. We have gone to the SoapGui section of the WS guide but we get an error in SoapGui. I am not sure if this is somehow related, but I am not able to properly test the WS and we do not get data in ME from PCo. Please review our attachment.
This seems to be soapUI issue - see http://stackoverflow.com/questions/11297747/content-length-already-present-error-soapui-4-5-1
We have tried this, but we are getting an error message. Please review the attachment as it contains the SoapGui project and error logs.we tried to follow the M17 document of the RDS and then we tried the ProductionOrderService to see what data we could retrieve using site and shop order, but ths produced the same error. We removed all of the "?" and we are using the MESYS username, but nothing is working.
http://EmailLargeFile.com/d/VHDEWDD6DCK
ProductionOrderService
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME">
<soapenv:Body>
<me:ProductionOrderByBasicDataQuery_sync>
<me:ProductionOrderByBasicDataQuery>
<me:SiteRef>
<me:Site>TST</me:Site>
</me:SiteRef>
<me:ShopOrder>TEST-26-07-16-12-7</me:ShopOrder>
</me:ProductionOrderByBasicDataQuery>
</me:ProductionOrderByBasicDataQuery_sync>
</soapenv:Body>
</soapenv:Envelope>
You have retried in the same soapUI 4.5.1. As I said earlier, there might be an issue with this version. Please try to find another version.
ProductionOrderByBasicDataQuery works fine on my side.
Alternatively, on my previos screen shot, there "WSDLs" tab. There you can find "Test" button. It lets you test webservice also. However, in case of firewall between MII and ME, this way does not check anything besides deployment of ME WS component.
Tried installing SoapUI 4.0, but my laptop prevented me from installing a .jar file into a folder location where I do not have rights to. I decided to use the same version you stated you are using (1.7.5). I was able to execute the web service but I got an error.I have compiled the project, logs and screenshot into the link below for your viewing. Also, we looked at the SSA in Netweaver and we are getting errors here as well. The one issue that stands out is the use of the GUEST user. Not sure why it is GUEST, but it seems wrong. Thank you for giving your attention to this.
I looked in your HTTPLog.txt and saw an error with your production order request. The error says:
<faultstring>shopOrderRef is missing</faultstring>
which is indeed the case. You used
<me:ShopOrder>TEST-26-07-16-12-7</me:ShopOrder>
in your request but it should be
<me:ShopOrderRef>TEST-26-07-16-12-7</me:ShopOrderRef>
-tim
what is the correct syntax bc I have tried <me:ShopOrderRef>TEST-26-07-16-12-7</me:ShopOrderRef> and I get an error stating that shopOrder is missing.
This is what I currently have.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME">
<soapenv:Body>
<me:ProductionOrderByBasicDataQuery_sync>
<me:ProductionOrderByBasicDataQuery>
<me:SiteRef>
<me:Site>TST</me:Site>
</me:SiteRef>
<me:ShopOrderRef>TEST-26-07-16-12-7</me:ShopOrderRef>
</me:ProductionOrderByBasicDataQuery>
</me:ProductionOrderByBasicDataQuery_sync>
</soapenv:Body>
</soapenv:Envelope>
Error:
<faultstring>shopOrder is missing</faultstring>
<detail>
<ns2:StandardMessageFault xmlns="http://sap.com/xi/SAPGlobal/GDT" xmlns:ns2="http://sap.com/xi/ME">
<ns2:ErrorCode>12001</ns2:ErrorCode>
<ns2:ErrorMessage>shopOrder is missing</ns2:ErrorMessage>
<ns2:StackTraceList>
etc...
Ok this is what I have now, but it still shows an issue.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME">
<soapenv:Body>
<me:ProductionOrderByBasicDataQuery_sync>
<me:ProductionOrderByBasicDataQuery>
<me:SiteRef>
<me:Site>TST</me:Site>
</me:SiteRef>
<me:ShopOrderRef>
<me:ShopOrder>TEST-26-07-16-12-7</me:ShopOrder>
</me:ShopOrderRef>
</me:ProductionOrderByBasicDataQuery>
</me:ProductionOrderByBasicDataQuery_sync>
</soapenv:Body>
</soapenv:Envelope>
And the response is
<SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>while trying to invoke the method com.sap.xi.me.SiteRef.getSite() of an object loaded from local variable 'siteRef'</faultstring>
<detail>
<yq1:java.lang.NullPointerException xmlns:yq1="http://sap-j2ee-engine/client-runtime-error">while trying to invoke the method com.sap.xi.me.SiteRef.getSite() of an object loaded from local variable 'siteRef'</yq1:java.lang.NullPointerException>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Error Log:
Mon Jul 23 07:33:13 EDT 2012:ERROR:java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.outline.SourceEditorCaretUpdater.run(SourceFile:60)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.outline.XmlOutlineEditorView.setCurrentOffset(SourceFile:190)
at com.eviware.soapui.impl.wsdl.panels.request.components.editor.views.outline.SourceEditorCaretUpdater$1.run(SourceFile:66)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
At least, now the communication to ME WS works fine.
Please try this one:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME">
<soapenv:Header/>
<soapenv:Body>
<me:ProductionOrderByBasicDataQuery_sync>
<me:ProductionOrderByBasicDataQuery>
<me:SiteRef>
<me:Site>TST</me:Site>
</me:SiteRef>
<me:ShopOrderRef>
<me:ShopOrder>TEST-26-07-16-12-7</me:ShopOrder>
<me:SiteRef>
<me:Site>TST</me:Site>
</me:SiteRef>
</me:ShopOrderRef>
</me:ProductionOrderByBasicDataQuery>
</me:ProductionOrderByBasicDataQuery_sync>
</soapenv:Body>
</soapenv:Envelope>
http://<SERVER>:<PORT>/manufacturing-services/<SERVICE>?wsdl
or in my case, I am using ProductionService.
I thought you might be using the ws-policy wrapped WSDL URL which many clients have a problem with, but you aren't. Sadly, I'd have to direct you to the MII forum/thingy (whatever SCN calls them now) for an answer as to why it won't read the WSDL. What error does MII show when it tries to parse that WSDL URL?
This is a screenshot video that shows the issue I am having with the workbench and the wsdl. As you can see I have tried different configurations with the same results. I press next and it just hangs. I noticed there was a 60 second timeout so I waited at least 60 seconds to see if I would get an error. Please let me know if I should proceed to the MII forum.
Hi,
Couple of things: In MII, check System Management-->System Properties and make sure that the appropriate entries are made in Proxy Configuration Bypass List, if you are behind a proxy or firewall. Also, try either a fully-qualified domain name for the ME server, or try the IP address of the ME Server. If none of this works, please open a thread on the MII forum in SCN. I can connect to ME from MII just fine with the Web Service Action Block using MII 12.2.3 (Build 182).
- Steve
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.