Troubleshooting Webservices
Hi,
So, I'm in the midst of troubleshooting a 3rd party tool, that connects to sap me via web services. And I throws me an error I just can't figure out.
this is the error:
System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Basic'. The authentication header received from the server was 'Basic realm="/manufacturing-services/ProductionServiceService"'.
---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---
I have tested all the webservices with SOAPUI and they work correctly.
Where is this basic scheme and where can I change the scheme so it auths correctly?`
regards,
Hi!
this is from the developer of the tool:
I've been testing the tool using MesLogin/Password (Kari/Happo1) and with those it works just fine.
When I switched to same login that you used (XML/password) the SAP allows complete messages to be send but raises "unauthorized access" error when trying to send start or assemble messages.
I have absolutely no idea on how SAP user authentication is configured, so hopefully someone else can advise on how to proceed with this.
regards,
Tarvi.
Similar Messages
-
How to consume MII transaction as a webservice
I have the WSDL for the MII transaction
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions targetNamespace="http://www.sap.com/xMII" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
- <!-- Types
-->
- <types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
- <s:complexType name="InputParams">
<s:sequence id="InputSequence" />
</s:complexType>
- <s:element name="XacuteRequest">
- <s:complexType>
- <s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string" />
<s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string" />
<s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams" />
</s:sequence>
</s:complexType>
</s:element>
- <s:complexType name="Rowset">
- <s:sequence>
<s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row" />
</s:sequence>
<s:attribute name="Message" type="s:string" />
</s:complexType>
- <s:complexType name="Row">
- <s:sequence id="RowSequence">
<s:element maxOccurs="1" minOccurs="1" name="OutputXml" type="s:string" />
</s:sequence>
</s:complexType>
- <s:element name="XacuteResponse">
- <s:complexType>
- <s:sequence>
<s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</types>
- <!-- Messages
-->
- <message name="XacuteSoapIn">
<part element="s0:XacuteRequest" name="parameters" />
</message>
- <message name="XacuteSoapOut">
<part element="s0:XacuteResponse" name="parameters" />
</message>
- <!-- Ports
-->
- <portType name="XacuteWSSoap">
- <operation name="Xacute">
<input message="s0:XacuteSoapIn" />
<output message="s0:XacuteSoapOut" />
</operation>
</portType>
- <!-- Bindings
-->
- <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="Xacute">
<soap:operation soapAction="http://www.sap.com/xMII" style="document" />
- <input>
<soap:body use="literal" />
</input>
- <output>
<soap:body use="literal" />
</output>
</operation>
</binding>
- <!-- Service mapping
-->
- <service name="XacuteWS">
- <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
<soap:address location="http://<server>:53000/XMII/SOAPRunner/Default/Oilandgas/ForTagQuery" />
</port>
</service>
</definitions>
I tried consuming this from ABAP WebDynpro from an ERP system (set up a Logical port and an HTTP connection).
I also tried consuming it from the browser by calling the URL
http://<server>:53000/XMII/SOAPRunner/Default/Oilandgas/ForTagQuery
It complained of 'Invalid username or password' HTTP 401
So, I added
http://<server>:53000/XMII/SOAPRunner/Default/Oilandgas/ForTagQuery&XacuteRequestLoginName=<user>&XacuteRequestLoginPassword=<password>
Still didn't work 'Invalid username or password'.
Any pointers where am I going wrong?
Regards,
HarishTake a look at this thread. It may give you more insight and links to other messages which will help.
[WebService Calls|Re: Troubleshooting webservice call / xMII-NetWeaver processing / Data Source]
If you solve your problem, please post your results here so others can benefit. I would also like to know more about how you set it up on the ABAP side.
Good luck,
Mike -
MII proxy configuration not working
Hello, there!
We have an application that runs as an HTTP proxy. It should intercept messages sent from MII to another system (running on the same machine) via Web Services.
I have configured MII ProxyHost and ProxyPort for MII, but it seems to be ignoring it. Even when I enter an invalid proxy configuration, MII manages to send the messages correctly, when it should raise a Connection Refused type of error.
I have already tried to restart MII application.
Does anybody have an idea on what could be happening?
Thanks in advance!Hi Eduardo,
Check the NetWeaver Logs and post here the error mesages if any.
White spaces are needed between public Id and system Id, check [Here|http://mobiforge.com/testing/story/fixit-valid-markup]
There are many threads are available regarding this topic,please go through them. Some of them I've mentioned below,will help you someway to fix your issues.
Re: Problem on MII Message Service
Re: 407 - Proxy Authentication Required
WebService - No Data Retruned...
Troubleshooting webservice call / xMII-NetWeaver processing / Data Source
Error Invoking Web Service Action: null
-Suresh -
Getting StatelessBeanAdapter's inbound XML
Is there any way to dump the inbound XML request sent to the StatelessBeanAdapter
servlet? I have a client (C#) that's behaving badly, and I don't have the source
so that I can dump the XML being sent to my web service.
I'm using WLS 6.1 SP3.
Thanks for any help you can provide...
BrianHi Brian,
You might try SOAPScope (www.mindreef.com); it is a tool that is useful
for troubleshooting webservice interop issues.
Hope this helps,
Bruce
Brian Manley wrote:
>
Is there any way to dump the inbound XML request sent to the StatelessBeanAdapter
servlet? I have a client (C#) that's behaving badly, and I don't have the source
so that I can dump the XML being sent to my web service.
I'm using WLS 6.1 SP3.
Thanks for any help you can provide...
Brian -
Documentation on SAP Published WebServices and Troubleshooting
hi,
Just curious to know where is the documentation on what each WebService published on FT2 does, about the input parameters, about the output response and the error codes, exceptions thrown ?
For example if there is an input parameter SystemAccountUserID what does it mean (employee id or user login id...etc..?)
I am also curious to know if there are any troubleshooting recommendations, best practices.
Thanks
KiranHi,
You can download it from service market place.
www.service.sap.com
and the link to the doc is below
[https://websmp210.sap-ag.de/sapdownload/011000358700000469462006E/SAP_ISA50_DevAndExtGuide.pdf|https://websmp210.sap-ag.de/sapdownload/011000358700000469462006E/SAP_ISA50_DevAndExtGuide.pdf]
Regards,
Sateesh Chandra -
Bi Publisher - not able to generate report using webservices
hi all,
I couldnt able to generate report in bi pulisher,using web services.
once i done with all the settings which is required for the creation of a report in webservices type, i couldnt able to view the report. If i do so im getting error message like "The report cannot be rendered because of an error, please contact the administrator." . I have referred http://st-curriculum.oracle.com/obe/fmw/bi/biee/r1013/bipub/intro/gettingstarted.htm#o this url for learning bi publisher.
So some one please guide me to get through this.
Thank u in advancePlease see these docs.
'Report Cannot Be Rendered Because Of An Error - Unexpected element:report' When Using Firefox [ID 605403.1]
Troubleshooting Oracle BI Publisher Enterprise and XML Publisher Enterprise [ID 412232.1]
BI Publisher Error On Report Access : java.lang.NoClassDefFoundError [ID 1083315.1]
BI PUBLISHER DATA TEMPLATE ISSUE RETRIEVING LARGE VARCHAR COLUMNS [ID 960838.1]
XML-21028 Access Not Allowed While Generating Output With BI Publisher [ID 458161.1]
Thanks,
Hussein -
Error while invoking https webservice in 11g
Created Endpoint process which calls secured webservice(https) and deployed in 11g.Deployed fine.When i invoke the process i am seeing error " An error occurred when verifying security for the message."
Can you please advice how to troubleshoot or resolve?
java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: An error occurred when verifying security for the message. at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298) at sun.reflect.GeneratedMethodAccessor2322.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:157) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: An error occurred when verifying security for the message. at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:716) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569) ... 67 more Caused by: javax.xml.ws.soap.SOAPFaultException: An error occurred when verifying security for the message. at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:882) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:715) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:226) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:97) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256) ... 70 moreIt was issue with soap header.Fixed and worked.
-
Calling a webservices from Oracle 10G ( 10.2.0.2)
Hi:
I am in the process of putting a database Java stored procedure that can call an external webservices.
PL/SQL Wrapper -> Java Stored Procedure-> External Web services
I loaded the following jars in the dataase.
dbwsa.jar
dbwsclient.jar
1. I am having issues consuming this external webservice from SQL*PLUS. Do you know whether I need to load any other JARS ?
2. How can I debug this issue ? I enabled TCP Monitor in JDeveloper and don't see anything when I call the PL/SQL wrapper in SQL*PLUS.
3. I can use a Java client and tested the Web services OK.
error message:
SQL> l
1 declare
2 x varchar2(100);
3 begin
4
5 x := tester.test_db1();
6* end;
SQL> /
calling
http://XX.XX.YY.121:8988/Application9-ViewController-context-root/MyWebService1S
oapHttpPort
java.rmi.RemoteException: Error parsing envelope; nested exception is:
javax.xml.soap.SOAPException: Error parsing envelope
at
view.proxy.runtime.MyWebService1SoapHttp_Stub.sayhello2(MyWebService1SoapHttp_St
ub.java:99)
at
prpd.MyWebService1SoapHttpPortClient.sayhello2(MyWebService1SoapHttpPortClient.j
ava:41)
at prpd.TEST_DB.TEST_DB1(TEST_DB.java:21)
Caused by: javax.xml.soap.SOAPException: Error parsing envelope
at
oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplemen
tation11.java:103)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:75)
at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:934)
at
oracle.j2ee.ws.client.StreamingSender._preHandlingHook(StreamingSender.java:692)
at oracle.j2ee.ws.client.StubBase._preHandlingHook(StubBase.java:688)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:207)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at
view.proxy.runtime.MyWebService1SoapHttp_Stub.sayhello2(MyWebService1SoapHttp_St
ub.java:76)
... 2 more
Caused by: java.lang.IllegalArgumentException
at oracle.xml.parser.v2.XMLParser.setAttribute(XMLParser.java:794)
at
oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplemen
tation11.java:54)
... 9 more
PL/SQL procedure successfully completed.
SQL> /
thx
Rajthanks Tugduall for the comments. here are the instructions I followed to create a java stored procedure that can call a webservices. Unfortunately, this seems like a very complex task. Do you have any ideas how I could debug or troubleshoot this issue ?
Please note that I used JDeveloper to generate the client code.
========================================================
1. download the dbws-callout-utility-10R2.zip from OTN at:
http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservices.html
2. create an application/project with 1.4 JDK.
3. create a web service by ‘Business Tier’->Web Service->Web Service Proxy->UDDI
4. next… to ‘Search for’, type ‘quote’.
5. from the list select one. For me ‘Quote of day’ was picked.
6. click Next all the way to Finish.
7. from the ‘Application Sources’ select ‘QuotoProxy’ then find its main method.
8. at the section
// Add your own code here, add the line like:
System.out.println("quote "+myPort.getQuote());
9. run it to see its return.
10. cteate a class that has a method to call client method to be invoked (static)
like the following:
package dbws;
import dbws.QotdPortClient;
public class MainClientStub {
public MainClientStub() {
public static String getMyQoute(){
QotdPortClient myClient = null;
try {
myClient = new QotdPortClient();
return myClient.getQuote();
} catch (Exception e) {
e.printStackTrace();
return null;
note that the package name in your project.
11. create a deployment profile as ‘JAR File’. Uncheck the box ‘Project Dependencies’
12. deploy it to the local box. ‘Deploy to JAR File’.
13. unzip the dbws-callout-utility-10R2.zip to get dbwsa.jar.
14. execute the following from command line:
loadjava –user test/[email protected] -resolve –verbose –synonym –grant public to dbwsa.jar myarchive1.jar
loadjava -user test/test@orcl1020 -resolve -verbose -synonym -genmissing -grant public myarchive1.j
ar dbwsa.jar
loadjava -user sys/<sys_pass> -resolve -verbose -synonym -genmissing -grant public myarchive1.jar dbwsa.jar
15. create a function like the following:
CREATE OR REPLACE FUNCTION teststub RETURN VARCHAR2 AS
LANGUAGE JAVA NAME ‘dbws.MainClientStub.getMyQoute() return java.lang.String’;
16. Run at sqlplus: Select teststub from dual;
====================================================== -
Hello friends,
Is it possible to decide at runtime to which web application server the request should send to depending on one of field in sender file?
e.g in file adapter we could specify the file name at runtime. I am not sure whether would it be possible , becoz WSDL contains location tag specifying where webservice resides....
i would appreciate for any kind of help
thanks,
PranavHI,
Yes it is possible to maitain the UDF to create the URL based on sender Data. see my links and also below link
RFC and SOAP scenarios-/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
Dynamic configuration payload - https://media.sdn.sap.com/javadocs/NW04/SPS15/pi/com/sap/aii/mapping/api/DynamicConfiguration.html
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping - /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
Dynamic configuration in adapter modules - /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules
Also see the below links for ref
RFC to SOAP
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/piers.harding/blog/2004/07/18/you-dont-need-to-use-soap-to-keep-your-rpc-clean
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/david.halitsky/blog/2006/08/25/soa-vs-rfc-it-doesnt-have-to-be-charles-bronson-vs-henry-fonda
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=rfc%20to%20soap%20scenario&cat=sdn_weblog
Regards
Chilla -
Webservice Exceution in BPM Process
Hi,
Do i need to write any code for executing webservice in BPM Process.
The problem is i created process i am able see the work items in the UWL inbox .When the request is submitted it going to Approval inbox ..and once the approval is approved for creation
That should be created in the backend.But that is not happening??what could be the reason??
I am able to see the process in requestor and approval inbox ....all are fine but i could'nt see the output..?
Please can any one help me out??
ONE MORE DOUBT
Whenever I want to create a task iam starting the process so iam able to create one task.. if i want intialize/Create some tasks(100 tasks) what should i do??Do we start the process 100 times..?are anyother procedure?
Regards
ShwethaHi Shwetha,
You do not necessarily need to write code in case you rely on existing services. Typically some configuration is missing when the service consumption is not working as expected. Make sure that you did this before.
Could you please check the status of your tasks and processes in the SAP NetWeaver Administrator ("Manage Tasks", "Manage Processes"). The troubleshooting guide (mentioned in the forum description) might help you a little here.
In addition you could check the trace file if some other technical problems occurred.
Regarding your second request:
You do not need to start 100 processes for 100 tasks. That simply depends on your process model. You could prepare something like a loop which creates a task until a certain criteria is reached. But be careful not to run into endless loops here. That might cause massive problems on your system.
Hope that helps,
Martin -
WebService Response not resolvable
When my webservice run send(), it returns the following error
[WSDLError faultString="Element
http://tempuri.org/dcli.xsd:dgInfoWrapper
not resolvable" faultCode="WSDL.BadElement" faultDetail="null"]
But dgInfoWrapper is the response element. Why
myWebService.send() requires the response element.
<element name="dgInfoWrapper">
−
<complexType>
−
<sequence>
<element name="vecDgInfo" type="dcli:dgInfoOutArray"
minOccurs="1" maxOccurs="1" nillable="false"/>
<element name="result" type="dcli:cmdResult" minOccurs="1"
maxOccurs="1"/>
</sequence>
</complexType>
</element>
operation name="getHostsByDg">
<documentation>Service definition of function
dcli__getHostsByDg</documentation>
<input message="tns:getHostsByDg"/>
<output message="tns:dgInfoWrapper"/>
</operation>
Thanks in advance for any help.Hi,
To begin troubleshooting, you may check any monthly applications' running like update or anti-virus.
Thanks,
Gordon -
Map Webservice schema to actionscript bean?
I used the wizard in flex builder to generate webservice proxy classes from a wsdl.
The wizard created bean type classes from the wsdl schema.
I already had model classes for my flex views/forms. I have to set different properties
of these models depending on other model property values.
I am wondering if I can keep my models and just create a mapping to the proxy webservice beans or should I just
use what the wizard generated as my models?
Is it a good idea to have the proxy beans tightly coupled to my application logic. Any ideas on working with
webservices, models/vos and actionscript would be greatly appreciated.
If you need further clarification please let me know.
Thanks in advance!Hi Akaschmid,
For this issue, it's recommended to monitor BizTalk Server job, follow the this guide to get more information to troubleshoot. See:
BizTalk Server: Monitor BizTalk Server Job
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
File--xi--call webservice--post to R/3 idoc.
Hi all,
I am stuck up with this scenario.Please anyone help me out with suggestion.
A file is(Xml/flat) is kept into the server.Xi is picking up with file and then it will call a webservice .this webservice will get the file data and post it to idoc.
It may need BPM .i properly dont know.Please anyone answer it descriptive.
I am really helpless.hey,
This will be useful for you.Take a look at this.
yours would be FILE>SOAP->IDOC
The following is FILE->RFC->FILE
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
go through these too..
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
Please reward.
Thanks,
Vijaya.
Edited by: Vijaya Lakshmi Palla on Jun 5, 2008 10:57 AM -
Broken webservice behavior in CF 7.0.2?
I've managed to consume a webservice that uses a complex data
type as one of its input parameters on my
DEVELOPMENT machine
(WinXP, CF Dev 7,0,0,91690). I get the following error when I move
the code up to our
STAGING server (Win2003,
CF Standard 7,0,2,142559):
Error converting CFML arguments to Java classes for web service
invocation.
Unable to create web service argument class
[Ljava.lang.String;. Error: java.lang.InstantiationException:
[Ljava.lang.String;. Often this is because the web service defines
an abstract complexType as an input to an operation. You must
create an actual instance of this type in Java.
It looks like my development server is creating the propper
stub objects for the complex types (i.e. class files in the
C:\CfusionMX7\stubs\ directory) , but the staging server is not.
I'm hiting the same WSDL from both servers and the complex type is
clearly defined in the wsdl, so I don't know why one server would
interpret it correctly and the other can not. Is this a bug in CF
webservice implementation?
Can anyone tell me:
1) How I can get my staging server (Win2003, CF Standard
7,0,2,142559) to generate the propper stubs
or
2) A work around? I know I CAN use wsdl2java.exe to generate
the stubs manually, I'm just having a hard time with the HOW:
- I've executed wsdl2java.exe [url-of-wsdl] to create the
java files
- From what I've read on the forums, I think I should be able
to use the code below to compile the java objects into stubs, but
it doesn't seem to work:
I can generate the class file for the specific missing stub,
then move it to the correct directory in cfusionmx7/stubs, but I
still get the same error[/li]
If i try to generate stubs for all the java files, I get
errors.[/li]
The code I use to compile the java files is listed below:
javac -source 1.4 -deprecation -classpath
C:/CFusionMX7/lib/axis.jar;C:/CFusionMX7/lib/xml-apis.jar;C:/CFusionMX7/lib/saaj.jar;C:/C FusionMX7/lib/jaxrpc.jar;.
C:/CFusionMX7/runtime/bin/com/mycompany/mypackage/util/*.java
Anyone have any ideas? Of course, to make matters worse, the
reference I normally use to deal with complex data types in CF has
gone all 404:
http://hcc.musc.edu/research/shared_resources/xml_complex_types_to_cf_structure_notes.cfm.
If anyone knows of a good reference for this material, I'd love to
see it.
Thanks all,Well, after about a day and a half of troubleshooting, I
finally figured out how to get it to work. It seemed as if my last
error had to do with the fact that I had class files for the
webservice objects scattered around my computer and CF has having
problems (name collisions, maybe?) creating the stub files it
needed for the web service invocation.
This, however, worked:
1) Update my machine to CF 7.0.2. so I don't have to keep
uploading to the staging server to test
2) After doing some more research in the following articles,
it seemed as if my initial approach (recreating complex object in
CF structure/array) should have worked:
http://phillhowson.com/blog/index.cfm/2006/9/1/ColdFusion-and-Web-Services
http://cfdj.sys-con.com/read/86131.htm
http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/web services6.htm
3) After playing around with syntax, I FINALLY found a
solution that worked. It wound up being as simple as:
stArgs.ihatethisfield= arrCodes;
(see my code above)
Now why the previous code worked in 7.0.0 and this syntax
works in 7.0.2, I have no idea.
But it works now, and that's all that matters. -
Hi all,
I did a scenario, Integrating webservices to that of a data base, and it is working fine which is pretty straight forward scenario. I just want to know the usual/common/typical problems we face when we are making use of the webservices and their remedies.
Ex: Webservice --> XI --> Jdbc/idoc.
File -
> XI --> Idoc
Can any one guide me.
Any help would be appreciated
Thanks in advance
RamRT,
Check this weblogs for some problems and their resolutions:
/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
In these weblogs they have told some of the frequent errors which we come across.
---Satish
Maybe you are looking for
-
Unable to send email from iPhone or ipad, Unable to send email from iPhone or ipad
Recently, I have become unable to send emails from my comcast email account. I tried uninstalling and reinstalling the account, but get an error (Cannot send. Username or password for Comcast invalid). The username and password are correct, though,
-
JAVA + ANT = JARs problems
Hi ppl, I have one problem and hope that someone could help me, let's go... I use ant to build a project, I have more than one JAR and they use each other... Well all Jars are in the same directory and I need to change It. I must put one JAR, the mai
-
Auto Calculate Forms when opening pdf
I have a PDF that has form boxes that I created in them. I also have an Access Database that is pushing values to these forms. The numbers are populating all of the cells correctly. My issue is that when I open my file some of the form boxes that rel
-
PR Approval/Rejected status
Hi Experts, Kindly tell me the solution for this. When a PR is rejected by a higher level approver ,he wants to tell the reasons to initiator and the lower level approvers . The reasons will write in the " Approval Status " box. That reasons are not
-
Storage section check indicator -- ID & Pick point
Dear Gurus , 1. I have defined new storage type with NO storage section check. then maintained material with storage type indicaor.with storage type search strategy only. in this case the system does not suggest the bin or even storage type. But