on 02-04-2008 1:59 PM
I am calling the Sample BLT(xMII 12.0) as WebService. It should return a string (test message).
The SOAP request goes successfully, However, it is returning nothing. The same BLT works fine on xMII 11.5.
Here is the log:
HTTP/1.1 302 Found[\r][\n]"
"Server: SAP J2EE Engine/7.00[\r][\n]"
"Date: Mon, 04 Feb 2008 13:47:15 GMT[\r][\n]"
"Content-Type: text/plain[\r][\n]"
"Location: http://hostname:50000/logon/logonServlet?redirectURL=%2FXMII%2FSOAPRunner%2FTesting%2FVikas%2FSample...;
"Content-Length: 0[\r][\n]"
"Set-Cookie: saplb_*=(hostname_00)6230950; Version=1; Path=/[\r][\n]"
"Set-Cookie: JSESSIONID=(host_NWJ_00)ID1951078950DB10658293447650976044End; Version=1; Domain=domin; Path=/[\r][\n]"
Edited by: Vikas Gupta on Feb 4, 2008 7:59 AM
We are using xMII Version 12.0.0 Build(58).
Thanks Again
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally , we found the answer - The problem is seems like starting xMII12.0 for using BLT as WebService you are required to pass userId and password as part of SOAP Action. which is similar to WebServices on NetWeaver.
I wish, This should have been documented...
Thanks Sam for the pointers....
BTW, Sam Let me know - How should I assign you the points..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to help, just out of curiosity I was able to test the WS interface via SOAP UI and only needed to specify the credentials in the SOAP message. So I am curious if you are using v12.0.2 or a ramp-up version of xMII.
Sam
PS: The points should be radial buttons on the left of the forum page by our names.
Here is an update SOAP Request, Sorry but did not work too..
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header/>
<soap:Body>
<XacuteRequest xmlns="http://www.sap.com/xMII">
<LoginName>vikasg</LoginName>
<LoginPassword>test123</LoginPassword>
<InputParams />
</XacuteRequest>
</soap:Body>
</soap:Envelope>
Thanks
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another Log ---
HTTP/1.1 302 Found
Content-Length: 0
Set-Cookie: JSESSIONID=(host_NWJ_00)ID0128307850DB10850411046281628274End; Version=1; Domain=.domain Path=/
Date: Tue, 05 Feb 2008 20:47:07 GMT
Content-Type: text/plain
Server: SAP J2EE Engine/7.00
Location: http://hostname:50000/logon/logonServlet?redirectURL=%2FXMII%2FSOAPRunner%2FTesting%2FVikas%2FSample
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vikas,
Here's the request XML in the SOAP body that I have...I have a feeling that the xmii namespace is what's causing your issue:
inside the soap body and envelope....
<XacuteRequest xmlns="http://www.sap.com/xMII">
<LoginName>Administrator</LoginName>
<LoginPassword>abc123</LoginPassword>
<InputParams />
</XacuteRequest>
Sam
Edited by: Salvatore Castro on Feb 5, 2008 4:17 PM
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xmii="http://www.sap.com/xMII">
<soapenv:Header/>
<soapenv:Body>
<xmii:XacuteRequest>
<xmii:LoginName>vikasg</xmii:LoginName>
<xmii:LoginPassword>test123</xmii:LoginPassword>
<xmii:InputParams/>
</xmii:XacuteRequest>
</soapenv:Body>
</soapenv:Envelope>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have an administrator and Developer role on the xMII Server.
Do I need some other role too?
Thanks
Vikas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, xMII does not regulate System Security via the roles directly but allows customization of these roles via Security Services -> System Security where you can assign different priviledges to any of the NW UME roles. Be sure that you belong to a Role that is in XacuteRuntime. Is there any reason why you're not using the Message Listener interface in v12? You have much more control over how each message is handled.
Here's the help link: [http://help.sap.com/saphelp_xmii120/helpdata/en/45/6a862988130dece10000000a11466f/content.htm|http://help.sap.com/saphelp_xmii120/helpdata/en/45/6a862988130dece10000000a11466f/content.htm]
Hope this helps.
Sam
Sam,
Thanks for the response
Sorry, I don't see the 303 response code.
BTW, First Log Message is from SOAP Client and Second from xMII Log..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From the help documentation:
"The input parameter data structure includes authentication credentials that must be provided with the inbound request. The user name and password must have runtime permission on the SAP xMII server."
Located here: [http://help.sap.com/saphelp_xmii120/helpdata/en/44/847b251e4355cee10000000a1553f6/content.htm|http://help.sap.com/saphelp_xmii120/helpdata/en/44/847b251e4355cee10000000a1553f6/content.htm]
Hope this helps.
Sam
I am still out there wating for help ...
Please advice - what could be the possible cause...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another Update: I found the following error in the Log
Execution Exception: null
[EXCEPTION]
java.lang.NullPointerException
at com.sap.lhcommon.xml.XMLHandler.setNodeValue(XMLHandler.java:1180)
at com.sap.xmii.xacute.expressioneval.ExpressionEvalUtilities.AssignPropertyValue(ExpressionEvalUtilities.java:495)
at com.sap.xmii.xacute.engine.TransactionEngine.Eval(TransactionEngine.java:164)
at com.sap.xmii.xacute.core.Assign.Process(Assign.java:55)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.core.Action.Process(Action.java:77)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.core.ActionSequence.Process(ActionSequence.java:25)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.core.Conditional.Process(Conditional.java:27)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.core.ActionSequence.Process(ActionSequence.java:31)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.core.Conditional.Process(Conditional.java:27)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.core.ActionSequence.Process(ActionSequence.java:31)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.core.Repeater.Process(Repeater.java:78)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.core.ActionSequence.Process(ActionSequence.java:31)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.core.ActionSequence.Process(ActionSequence.java:31)
at com.sap.xmii.xacute.engine.TransactionEngine.Process(TransactionEngine.java:104)
at com.sap.xmii.xacute.engine.TransactionEngine.Execute(TransactionEngine.java:48)
at com.sap.xmii.servlet.Runner.service(Runner.java:171)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:97)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just an update - I am able to call via XacuateConnecter...
Please advice...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.