on 05-27-2014 5:03 PM
Hi experts,
We have created a web service, which successfully adds a Business Partner in SAP Business One.
Its functionallity was tested from B1if environment.
We try to call the specific web service from Altova XMLspy, following the instructions shared in this thread:
Through Altova XMLSpy environment, we follow the path: SOAP -> Create New SOAP Request
and we deploy our wsdl file. As soon as we proceed with the call of the wsdl file, the following xml code appears:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:stylesheet xmlns:m="http://www.w3.org/1999/XSL/Transform" version="">
<m:AddBP>
<m:CardCode>String</m:CardCode>
<m:CardName>String</m:CardName>
<m:CardType>String</m:CardType>
<m:PhoneNum>String</m:PhoneNum>
<m:Email>String</m:Email>
<m:Address>String</m:Address>
<m:WebSite>String</m:WebSite>
</m:AddBP>
</m:stylesheet>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
When we try to proceed with the option: Send Request to Server
we get the following error:
HTTP error: Internal error in server 'ServerName'
As soon as we press the OK button of the error message, we get the following - second error message:
along with the following xml code:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<xci:reason xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc">Server side cannot respond your request (No Scenario Step (vBIU) Assigned for Step for Sender System (SysId) [0009] [incoming identifier = 'stylesheet'])</xci:reason>
<xci:tid xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc">14052713400954115757C0A801169059</xci:tid>
<xci:exception xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc">com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.utilities.UtilException: UTE001 Nested exception: com.sap.engine.lib.xml.util.NestedException: Server side cannot respond your request (No Scenario Step (vBIU) Assigned for Step for Sender System (SysId) [0009] [incoming identifier = 'stylesheet'])</xci:exception>
<xci:callStack xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc">com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.utilities.UtilException: UTE001 Nested exception: com.sap.engine.lib.xml.util.NestedException: Server side cannot respond your request (No Scenario Step (vBIU) Assigned for Step for Sender System (SysId) [0009] [incoming identifier = 'stylesheet'])
at com.sap.b1i.xcellerator.IPOWorkResource.execute(IPOWorkResource.java:527)
at com.sap.b1i.xcellerator.IPOStepInstance.executeInner(IPOStepInstance.java:680)
at com.sap.b1i.xcellerator.IPOStepInstance.executeOuter(IPOStepInstance.java:515)
at com.sap.b1i.xcellerator.Xcellerator.trigger(Xcellerator.java:1387)
at com.sap.b1i.xcellerator.SingleAdapterPool.trigger(SingleAdapterPool.java:429)
at com.sap.b1i.xcellerator.ActiveListenerInteractor.trigger2(ActiveListenerInteractor.java:191)
at com.sap.b1i.xcl_wsar.WSARListener.executeWSAx(WSARListener.java:219)
at com.sap.b1i.xcl_wsar.WSARListener.handleWS(WSARListener.java:156)
at com.sap.b1i.xcl_http.HTTPListener._doXxx(HTTPListener.java:1504)
at com.sap.b1i.xcl_http.HTTPListener._doPost(HTTPListener.java:1405)
at com.sap.b1i.xcl_http.HTTPListener.service(HTTPListener.java:805)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:743)
Caused by: com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.utilities.UtilException: UTE001 Nested exception: com.sap.engine.lib.xml.util.NestedException: Server side cannot respond your request (No Scenario Step (vBIU) Assigned for Step for Sender System (SysId) [0009] [incoming identifier = 'stylesheet'])
at com.sap.b1i.bizprocessor.AtomScheduler.process(AtomScheduler.java:188)
at com.sap.b1i.bizprocessor.IncludeAtom.process(IncludeAtom.java:200)
at com.sap.b1i.bizprocessor.IncludeAtom.processOuter(IncludeAtom.java:171)
at com.sap.b1i.bizprocessor.BizProcessor.process(BizProcessor.java:451)
at com.sap.b1i.xcellerator.IPOStepInstance.executeTransaction(IPOStepInstance.java:1084)
at com.sap.b1i.xcellerator.IPOWorkResource.execute(IPOWorkResource.java:425)
... 24 more
Caused by: com.sap.b1i.utilities.UtilException: UTE001 Nested exception: com.sap.engine.lib.xml.util.NestedException: Server side cannot respond your request (No Scenario Step (vBIU) Assigned for Step for Sender System (SysId) [0009] [incoming identifier = 'stylesheet'])
at com.sap.b1i.utilities.XMLHandler$DocumentManipulator.transformSource2Result(XMLHandler.java:272)
at com.sap.b1i.utilities.XMLHandler$DocumentManipulator.transformDocument2Stream(XMLHandler.java:251)
at com.sap.b1i.utilities.XMLHandler$DocumentManipulator.transformDocument2Array(XMLHandler.java:239)
at com.sap.b1i.bizprocessor.XformAtom.performPayloadXform(XformAtom.java:443)
at com.sap.b1i.bizprocessor.XformAtom.run(XformAtom.java:428)
Caused by: com.sap.engine.lib.xml.util.NestedException: Server side cannot respond your request (No Scenario Step (vBIU) Assigned for Step for Sender System (SysId) [0009] [incoming identifier = 'stylesheet'])
at com.sap.engine.lib.xsl.xslt.XSLMessage.process(XSLMessage.java:44)
at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:293)
at com.sap.engine.lib.xsl.xslt.XSLWhen.process(XSLWhen.java:66)
at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:293)
at com.sap.engine.lib.xsl.xslt.XSLChoose.process(XSLChoose.java:46)
at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:293)
at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:272)
at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:457)
at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:391)
at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:392)
at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:234)
at com.sap.b1i.utilities.XMLHandler$DocumentManipulator.transformSource2Result(XMLHandler.java:264)
... 4 more
</xci:callStack>
<xci:retryLater xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc">false</xci:retryLater>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Can you please advice on how we can check and solve the issues regarding the error messages?
Hi Darrel,
Thank you for your response.
The Scenario is activated:
We have noticed that the step for Sender System was not assigned through Setup Menu.
As you can see, we have assigned the Sender:
URL's syntax is correct:
We retried, but we got the following message:
Can you please advice?
Thank you in advance
Vassilis Korolis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Darrel,
We have already proceeded with the step that you mention.
I am glad to inform you that we finally managed to solve the issue by changing the Authentication from the Package Design module of the B1if, to No Authentication.
The SOAP Request is now working properly and we can add Business Partners through Altova XMLspy.
The next step that we want to proceed with, is to add B1 Authentication to our package to ensure that it will be secure.
I have already check the following thread, but I am not able to identify how can I pass the
user and password in the inbound.
http://scn.sap.com/thread/3542546
Can you please advice?
Thank you in advance
Kind Regards,
Vassilis Korolis
Hi experts,
We have noticed that Sender was not defined in the web service setup.
After declaring Sender we tried to resend the request to server, but we got the following message:
Is it possible that this message is related to the authorizations?
Can you please provide any advice?
Thank you in advance
Kin Regards,
Vassilis Korolis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vassilis,
The key thing to note here is this; Server side cannot respond your request (No Scenario Step (vBIU) Assigned for Step for Sender System.
This means you don't have a Scenario Step active, or part of your request was incorrect. Double check to make sure your scenario is active and double check the URI for the service. Also if you could post some screen shots of your setup it might help to find the cause.
Hope this helps.
Darrell
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.