HTML to Web Service Scenario - Runtime Error Exception

Hi Friends,
I am tryin to do HTML to Web Service Scenario for Validating email for the fWeb Service Email
Validation http://www.webservicex.net/ValidateEmail.asmx?wsdl. While executing the scenario in
Integration Directory there is no error but when sending the payload (Payload contains onl)from SAP
HTML then getting error in SXMB_MONI as
"Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
Please guide me for the same.
Regards,
Nitin Patil

Hi,
well it might be the reason that XI is always working with XML but not HTML. It's important that your HTML should be following the XML wellformness. It would be strongly recommanded that you use XHTML but not normal HTML here, because I think XI has no tolerence at all when the inbound HTML is not XML-wellformed.
Try to compose your XHTML like the following:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
     <title/>
</head>
<body>
<p>some email address</p>
</body>
</html>
Make sure there are no weird characters and empty lines within and before the <?xml
Regards,
Chen

Similar Messages

  • IDOC - Web Service scenario gives errors when processing multiple IDocs

    Hi,
    I have an integration process defined in PI 7.1 that contains four major steps :
    -     Receive DEBMAS IDoc
    -     Call a RFC to get additional information
    -     Call a MS Dynamics web service to retrieve the MS Dynamics customer account number via the SAP customer number (synchronous call)
    -     Call a MS Dynamics web service to update customer info (asynchronous call)
    This process works well when one IDoc is processed.
    If however 10 Idocs are submitted, some updates are processed correctly, most of them are not (the find service call works perfectly fine). Sometimes 3 work fine, sometimes 1 (for the same 10 IDocs submitted)
    I did a test with SOAP UI where in a test script I submitted the 10 update service calls and this works fine.
    The error that is given in the adapter engine SOAP communication channel is :
    Message processing failed. Cause: (415)Cannot process the message because the content type 'multipart/related; type="text/xml"; start="<45504935B855BA3ACA0EA2FD503BC60F>"; boundary="----=_Part_20_1319086528.1239082062538"' was not the expected type 'text/xml; charset=utf-8'.
    I noticed in the message content that the SOAP calls that go wrong have two payloads attached, one for the Main Document and one for the XI Context.. The ones that are processed correctly only have one payload, the Main Document
    Anyone an idea what the cause can be ?
    Thanks,
    Jan

    Hi,
      Please check the transaction idx5 in PI system and see whether the IDOC status by double clicking on the corresponding Transaction ID.
      I think this might be due to some invalid data coming from the source system
    Thanks,
    Tiny

  • Gettinfg error in RFC to Web Service scenario

    hi friends,
    I am getting the following error while configuring RFC to Web Service scenario.
    I have used the ws :http://webservices.imacination.com/distance/Distance.jwsPlease help me out.
    <!--  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>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML; HTTP 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi
    check this thread
    Getting error in target SOAP communication channel
    regards
    krishna

  • IDOC - Web Service scenario error

    Hi Experts,
    I am developing IDOC to Web Service scenario and the error which I come across is in the receiver SOAP channel which states:
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: AddUpdateStandardOrder."
    Please suggest.
    Thanks
    Tiny

    Hi,
    your SOAP action defined in reciver SOAP comm channel is not correct.... to specify it corrctly, open your SOAP application URL in internet explorer........click on service description..........then search SOAP:Action node in it.........specify the complete SOAP action in the reciver SOAP comm channel including the complete namespace.............then save and activate it.........then rerun your scenario.
    Regards,
    Rajeev Gupta

  • Java Mapping to Digital Signature (web service scenarios)

    Hi All,
    I'm working with Web Service Scenarios and I have a problem.
    The Web Service has a Schema for validation data and I send data to method of WS, example:
    Web Service Description
    <SendData xmlns="http://www.sdn.com/schema.xsd">
       <InputXML>string</InputXML>
    </SendData>
    For send data to "InputXML" is obligatory digital signature in Java.
    I created a Java Mapping where get message of schema xsd, clear prefixes of tag and convert all schema to string.
    Now Web Service response a error, because string is not contain "<" ">" just contain asc & lt; & gt;
    Ex:
    & lt;CodigoMunicipio& gt;2927408& lt;/CodigoMunicipio& gt;
    In Debug Java Mapping in statement:
    before
    <CodigoMunicipio>2927408</CodigoMunicipio>;
    rootelement.appendChild(element);
    After
    & lt;CodigoMunicipio& gt;2927408& lt;/CodigoMunicipio& gt;
    And If use a rotine to convert it, in sxi_monitor generate a exception because not understand string field.
    Can you help me?
    Regards,
    Bruno

    Hi Bruno,
    there are two ways to nest a xml document into another xml document.
    The first one is escaping the XML, just like you did:
    <document_one>
    <input_xml>
    &gt;document_two&lt;&gt;tag_a&lt;value&gt/tag_a&lt;&gt;/document_two&lt;
    </input_xml>
    </document_one>
    http://stackoverflow.com/questions/1091945/where-can-i-get-a-list-of-the-xml-document-escape-characters
    The other is using the CDATA tag.
    <document_one>
    <input_xml>
    <![CDATA[<document_two><tag_a>value</tag_a></document_two>]]>
    </input_xml>
    </document_one>
    http://www.w3schools.com/xml/xml_cdata.asp
    Then, if your webservice expects to receive a XML document inside the InputXML tag, probably it will be able to handle one of these techniques.
    Best regards,
    JN

  • PI Web Service Scenario

    Hi experts!!!!
    I try to learn PI Web Service Scenario, and for test, i developed a simple scenario.
    I created a Service Message Synchron Outbound Message with Request and Response Structure, and I created a Service Message Synchron Inbound with Request and Response web service message (previouse imported on External Definition).
    I developed 2 mappings, one for Requeste ( MyMessageReq ---> Web Service Request) and other one for Response  (Web Service Response --> MyMessageResponse). and add this on Operation Mapping.
    In Directory, i created 2 Business Components (WS_Sender and WS_Receiver).and add my objects.
    For Receiver Communication channel i user adapter type like WS. and configured this like help.sap.
    When i executed the interface, the communication channel returns the following error:
    <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">WS_ADAPTER_SYS_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Systemfehler beim Aufruf des Web-Service-Adapters: Error al acceder a WSDL: &quot;Error in WSDL access for task ID &quot;00000000000000000007&quot;; read the long text&quot;</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I don't know the reason of this error, and i don't found anything on forum...
    Please, could somebody help me? Could somebody have any idea? Thanks.
    Gemma.

    Thanks.
    Now I use a communication channel soap receiver, and when i try to execute the interface, the call adapter returns the following error:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
      <SAP:P1>35</SAP:P1>
      <SAP:P2>HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Fehler beim Senden per HTTP (Fehlercode: 35, Fehlertext: HTTPIO_ERROR_CUSTOM_MYSAPSSO-Fehlermeldung beim Senden der Daten.)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Please, could somebody help me? Thanks.

  • SOA - real time proxy to web service scenario

    Hello Experts,
    I am working on PI but really very much new to the SOA concept.
    But i have to prepare document which explains about all steps that we need to follow (technicallly) for the SOA implementation.
    We are going to implement one Proof of Concept for SOA before going for the real project.
    Can someone please help me and tell me what all the things i need to do for Proxy to Web Service Scenario in PI.
    I hope i have made myself clear about it.
    Thanks,
    Hetal

    Hi Gaurav,
    Thanks for your advice.
    I have one more question and i tried to explore SDN alot but didnt get satisfactory answer.
    here is the situation:
    My scenario is like :
    .Net application = consumer
    ECC = Provider
    PI = broker
    SR = Publish ES
    I am using the Outside - In approach, where i am creating proxy structure in ESR and then creating/ Generating Proxy in ECC.
    I am exposing my Inbound Interface on SR, so that the WSDL is available on SR.
    Now the situation is, our consumer is asking data from us in different format.
    I read on help.sap.com that via PI mapping it is possible.
    But i am not understanding that consumer is using ECC WSDL to make a call, then even though mapping is there, how can they get response in their required format.
    They are even providing us their WSDL. I am totally confused that in one interface how come two different WSDLs can work?
    Or is there a way for this?
    I am even ready to use the same structure for my ECC which is provided by consumer, but then i dont see any outcome using PI.
    I also have question, that for standard service also, ECC Enterprise service structure is fixed which we expose, then using PI how can we provide consumers response in their desired way.
    I know that m asking this question again and again, but still it is not getting clear to me... might be m not understanding that how it works in SOA.
    If possible can you tell me the steps that i need to follow technically to develope this interface? so that i can get better understanding?
    Thanks,
    Hetal

  • Reg: Web Service Scenarios

    Hi! Experts,
    This is Amar Srinivas Eli. Will you please send links containg Scenarios using
    WEB SERVICES in detail step by step procedure if possible with screen shots  for both Design and Configuration Steps
    Also send links regarding HTTP to Web Service and HTTP related scenarios also with step by step procedure for both Design and configuration steps.
    Thanks
    Amar Srinivas  Eli

    Hi Amar,
    <b>for <b>Webservices</b> see below links</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
    <b>Webservice Scenarios</b>
    idoc to web services scenario
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    How to use webservices in XI
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - refer that blog and use the SOAP adapter and the WS instead of the RFC part.
    see this blog from Robert Chu, but it might give you a good start to creating web services:
    /people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component
    File to Webservices
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a
    Yes please look at following weblogs
    /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
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    How to Develop a Webservice Using NWDS and SAP XI.30
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How to Set Up a Web Service-Related Scenario with SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    Exposing BAPI as Web Services through SAP XI
    /people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi
    Testing XI exposed Web-Services
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    How XML Encryption can be done using web services security in SAP NetWeaver XI
    /people/aparna.chaganti2/blog/2007/01/23/how-xml-encryption-can-be-done-using-web-services-security-in-sap-netweaver-xi
    Consuming XI Web Services using Web Dynpro – Part I
    /people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    Consuming XI Web Services using Web Dynpro – Part II
    /people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    HTTP to JDBC
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    regards
    biplab
    please close the thread once u have got ur answer*****

  • Idoc to web services scenario

    Hi
    Can any one send me material for  <b>idoc to web services scenario</b>  to my mail id [email protected] or any good links to download material
    Regards
    Pavan

    How to Develop a Webservice Using NWDS and SAP XI.30
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How to Set Up a Web Service-Related Scenario with SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    How to Configure the IDoc Adapter
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    How to Sample IDoc Scenarios Within XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660

  • HP Web Services Setup - Connection error. Check Internet connection.

    I am trying to enable HP Web Services but Connection error. Check Internet connection. .
    I use static ip with Preferred DNS Address: 8.8.8.8 and 8.8.4.4 and it does not work.
    I changed to DHCP also it does not work.
    I have a ZTE home modem router connected to the printer.
    This question was solved.
    View Solution.

    Hi MaBek,
    Can you check if your printers IP address is valid.
    If you have a laptop or PC connected to the same network, open a browser and type the IP address in the address bar and hit enter. 
    This should open a Embedded web Server page if the IP address is valid.
    Here you can navigate to Web Services tab and click on enable to enable web services.
    Regards,
    Oliver
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"--Please mark the post that solves your problem as "Accepted Solution"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.

  • Consume Web Service In Coldfusion Error

    I'm having a problem using cfinvoke or adding this web service url in the coldfusion admin.
    <cfinvoke returnvariable="returndata" webservice="http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl" refreshwsdl="yes" method="PostData">
    I get the error for cfinvoke
    "Cannot generate stub objects for web service invocation. "
    "Name:
    http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl. WSDL:
    http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl. java.io.IOException: ERROR: Missing element inFault "SQLException" in operation "SQLException", in binding GetRates It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct. If the requested WSDL document cannot be retrieved or is dynamically generated, it is likely that the target web service has programming errors. "
    and in the administrator
    ""Error creating web service. Please ensure that you have entered a correct Web Service name or URL.""
    The url is 
    http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl
    page loads fine in a browser...
    I do see an issue being brought up here in the wsdl, but I have no idea why...this isnt my wsdl btw..
    <wsdl:operation name="GetRates">
    <wsdl:input message="ns:GetRatesRequest" wsaw:Action="urn:GetRates"/>
    <wsdl:output message="ns:GetRatesResponse" wsaw:Action="urn:GetRatesResponse"/>
    <wsdl:fault message="ns:SQLException" name="SQLException" wsaw:Action="urn:GetRatesSQLException"/>
    </wsdl:operation>
    line 3
    any ideas?
    Thanks for any help...

    Sorry didnt post everything for the sake of space
    I just ended up using .NET to deal with the service..CF just didnt even recognize the url as a valid web service let alone care if I was passing arguments to it.
    On a side note, CF admin doesnt recognize the url as a web service and dreamweaver doesnt recognize the url as a web service either.
    <cfinvoke method="PostLead" returnvariable="returndata" webservice="http://www.fortedata.com:8080/axis2/services/FdsWebService?wsdl" refreshwsdl="yes">
    <cfinvokeargument name="SpecVersion" value="0">
    <cfinvokeargument name="ForteId" value="TESTID">
    <cfinvokeargument name="AuthKey" value="guestauthenticationkey">
    <cfinvokeargument name="LastName" value="0">
    <cfinvokeargument name="FirstName" value="0">
    <cfinvokeargument name="Address" value="0">
    <cfinvokeargument name="city" value="0">
    <cfinvokeargument name="state" value="0">
    <cfinvokeargument name="zip" value="0">
    <cfinvokeargument name="year" value="0">
    <cfinvokeargument name="vin" value="0">
    <cfinvokeargument name="make" value="0">
    <cfinvokeargument name="model" value="0">
    <cfinvokeargument name="phone" value="0">
    <cfinvokeargument name="crdate" value="0">
    <cfinvokeargument name="listcode" value="0">
    <cfinvokeargument name="odometer" value="0">
    <cfinvokeargument name="dually" value="0">
    <cfinvokeargument name="commercial" value="0">
    <cfinvokeargument name="convvan" value="0">
    <cfinvokeargument name="coverage" value="0">
    <cfinvokeargument name="term" value="0">
    <cfinvokeargument name="deduct" value="0">
    <cfinvokeargument name="av" value="0">
    <cfinvokeargument name="gps" value="0">
    <cfinvokeargument name="wt" value="0">
    <cfinvokeargument name="sg" value="0">
    <cfinvokeargument name="emis" value="0">
    <cfinvokeargument name="fintype" value="0">
    <cfinvokeargument name="finterm" value="0">
    <cfinvokeargument name="downpay" value="0">
    <cfinvokeargument name="cuscost" value="0">
    <cfinvokeargument name="paymeth" value="0">
    <cfinvokeargument name="cc" value="0">
    <cfinvokeargument name="expdt" value="0">
    <cfinvokeargument name="ccid" value="0">
    <cfinvokeargument name="routing" value="0">
    <cfinvokeargument name="banacct" value="0">
    <cfinvokeargument name="checking" value="0">
    <cfinvokeargument name="fbdt" value="0">
    <cfinvokeargument name="promo" value="0">
    <cfinvokeargument name="timeofday" value="0">
    <cfinvokeargument name="prefmeth" value="0">
    <cfinvokeargument name="email" value="0">
    </cfinvoke>

  • Exception handling in synchronous proxy - web service scenario

    Hi Gurus,
    I have a synchronous scenario in which SAP is sending a request via XI using SOAP and receiving a response back. As part of this scenario, I am consuming standard web service APIs provided by the third party.
    Since, every request has to contain the connecting user id and password provided by the third party, I am sending/receiving messages without SOAP envelop (achieved by clicking 'Do not use SOAP envelope' checkbox in SOAP Receiver Communication Channel).
    For this scenario, we are including the user id and password in the request message using XSLT mapping and the request number using simple message mapping.
    The fault message of the web service is being mapped to the fault message created in XI under Fault Message Types.
    The interface mapping page has got 3 tabs, one each for Request message mapping, Response message mapping and Fault message mapping.
    When I trying to test a failure scenario by giving an incorrect request number(since this is the only input parameter in gthe request message apart from user id and password), it is throwing up "MAPPING">EXCEPTION_DURING_EXECUTE error.
    Actually, for such requests, I am getting a proper fault response back from the third party which I can see in XI (in moni) as response to my request but when I am looking at the message in moni in SAP, I am only seeing "MAPPING">EXCEPTION_DURING_EXECUTE. Even I can see the exception in the trace section of my response in moni in XI.
    My feeling is that the fault message mapping is not getting executed at all.
    I also thought to do a 2:1 multimapping in which, the target side will contain the response message type created in XI but the source will contain two messages, i.e. Normal response message structure provided by third party and Fault message structure provided by third party but I am not sure whether this is possible without using BPM.
    Please suggest the best way to resolve this issue.

    The Fault message raised from 3rd party service, is structured as follow ??
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/xml; charset="utf-8"
    Content-Length: nnnn
    <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>
                   <e:myfaultdetails xmlns:e="Some-URI">
                     <message>My application didn't work</message>
                     <errorcode>1001</errorcode>
                   </e:myfaultdetails>
               </detail>
           </SOAP-ENV:Fault>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Take a look here:
    /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
    and to this standard document:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/5946db5f693912e10000000a42189b/content.htm

  • Getting Error in  SOAP-SONAR  Tool while testing the Web Service Scenarios

    Hi
           I have a scenario Web Service to RFC .. for this.. I have created  a WSDL file through  define Webservices in the  I.D ..  but for testing these scenario.. i imported these file into SOAP-SONAR tool..    i have given all the authentication and everything..  but  I'm getting the follwoing error...
    please provide me the solution for this..
    <BODY>
    <H1>ERROR</H1>
    <H2>Cache Access Denied</H2>
    <HR noshade size="1px">
    <P>
    While trying to retrieve the URL:
    <A HREF="http://bsptdev1:8011/sap/xi/engine?">http://bsptdev1:8011/sap/xi/engine?</A>
    <P>
    The Following error was encountered:
    <UL>
    <LI>
    <STRONG>
    Cache Access Denied.
    </STRONG>
    </UL>
    </P>
    <P>Sorry, you are not currently allowed to request:
    <PRE>    http://bsptdev1:8011/sap/xi/engine?</PRE>
    from this cache until you have authenticated yourself.
    </P>
    <P>
    You need to use Netscape version 2.0 or greater, or Microsoft Internet
    Explorer 3.0, or an HTTP/1.1 compliant browser for this to work.  Please
    contact the <A HREF="mailto:root">cache administrator</a> if you have
    difficulties authenticating yourself or
    <A HREF="http://bspproxy/cgi-bin/chpasswd.cgi">change</a> your default password.
    </P>
    regards
    Jain

    Check this guide for creating a correct WSDL:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    User user need the role SAP_XI_APPL_SERV_USER
    Regards
    Stefan

  • Web Service Scenario Not Working

    Hi Sdners,
    I am working on Support project where I have web Service to RFC Scenario which is synchronus scenario. when the user sending the WSDL request to XI it's woking fine in for Devlopment but it is not working QA .In QA i am gettings error below
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZCA_RATE_INTF.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    When I asking user to send the message from their they are coming to QA syetm insted of DEV.........for this where I have to check........
    Edited by: gangadhar kh on Mar 3, 2010 12:29 PM

    HI All,
    Can anyone help me on this?
    there is no communication is going between the sender system(Web Service) to PI . When user is sending the data through URL he is not able to send the data and when he is sending the data . I am getting the message in PI/XI(MONI) messsage coming (with system Error with balls sign)
    <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZCA_PRICE_F_EX_RATE_INTF.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    and IN payload of This message
    RFC_ERROR_SYSTEM_FAILURE</ID><Attributes><V1>CALL_FUNCTION_NO_DEST</V1>
    Please suggest on this Problem
    Regards
    Edited by: gangadhar kh on Mar 8, 2010 6:00 AM

  • Web Service Data Control error

    I was folllowing the instructions on this demo for web service data control.
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/WSDataControl/WSDataControl.htm
    For some reason I am getting the following error right when the page loads.
    'GetLatByZipCode' expects parameter '@zipCode', which was not supplied.
    Here is the entire error stack. Any idea why it is doing this:
    Client received SOAP Fault from server : System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error occured when get webservices record ---> System.Data.SqlClient.SqlException: Procedure or function 'GetLatByZipCode' expects parameter '@zipCode', which was not supplied.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    at WeatherService.WeatherForecast.GetWeatherByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    Client received SOAP Fault from server : System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error occured when get webservices record ---> System.Data.SqlClient.SqlException: Procedure or function 'GetLatByZipCode' expects parameter '@zipCode', which was not supplied.
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    at WeatherService.WeatherForecast.GetLatLonDataByZipCode(String ZipCode)
    at WeatherService.WeatherForecast.GetWeatherByZipCode(String ZipCode)
    --- End of inner exception stack trace ---
    OK

    I would recommend that rather then working according to the demo you actually follow this tutorial:
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_52/jdtut_11r2_52_1.html
    Which in the last part shows you how to use the Web service data control against a service you'll build.

Maybe you are looking for