Error in using email  Web Service tutorial

Hi ,
I downloaded the email web service tutorial from
sdn and tried to executeit.
But it is throwing error,.
I also  tried to bypass proxy settimg but still the same error is coming
Can anyone guide me as what i should do?
The error stack trace -
The initial exception that caused the request to fail, was:
   java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl: www.abysal.com
    at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
    at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1018)
    at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1125)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:146)
Detailed Error -
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://www.abysal.com/soap/AbysalEmail.wsdl' and service factory configuration 'null'
     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:421)
     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)
     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:341)
     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:325)
     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:198)
     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1029)
     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:247)
     at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
     at emailadwsmodel.EmailAdWSModel.<init>(EmailAdWSModel.java:45)
     at com.sap.tc.wd.adws.comp.app.EmaiFormView.wdDoInit(EmaiFormView.java:107)
     at com.sap.tc.wd.adws.comp.app.wdp.InternalEmaiFormView.wdDoInit(InternalEmaiFormView.java:156)
     at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
     at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
     at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
     at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
     at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
     at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
     at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
     at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
     at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
     at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
     at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:752)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:705)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
     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:160)
     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)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
     at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
     at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
     at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
     at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:91)
     at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:419)
     ... 45 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
     at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
     at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:146)
     ... 49 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl: www.abysal.com -> java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl: www.abysal.com
     at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1038)
     at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1125)
     at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
     ... 50 more
Caused by: java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl: www.abysal.com
     at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
     at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1018)
     ... 52 more

Hi Vivek,
This problem occurs when Web Service provider is not reachable , it means the server which provides services to the WSDL is temporally down or not reachable . To check whether the services is reachable , you could paste the WSDL URL in your internet browser , if it opens then problem is with NWDS configuration of proxy else sever is not reachable .
In your case problem is not with NWDS but with server as it looks that it is temprorarly down. To avoid such problem in future you could also store the WSDL file locally on your system and then can import ( obvioulsy you requires at least once to get the WSDL ) . This will help only while modelling the application to run you will require the service provider to be up and runnning
You could use other tutorials to try AWS Model in Web Dynpro .
regards
Dhawal

Similar Messages

  • Problems with creating model in Email Web Service tutorial

    Hello!
    In the moment, I'm trying to follow the tutorial "Using an Email Web Service in Web Dynpro". I followed all the steps in the chapter "Generating a Model from the WSDL Description", but after typing in the mentioned WSDL description "http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService" in the "New Model" wizard, I'm getting the error message, that the WSDL file is not found or not valid and no new model can be created.
    So I'm quite stuck. What am I doing wrong? Did anyone encounter the same problems?
    Greeting
    Bärbel

    Hello Baerbel,
    I could not reproduce this error and never had this before. What you could do in the meantime is taking the wsdl description from the url and copy and paste it into a notepade file. Then please save it under emailwebservice.xml onto your hard disc and select it from "local file system or url" and take it from the path of your local file system.
    Hope that helps!
    Best regards,
    Karin

  • Error while running 10g web services tutorial

    I am trying to learn and evaluate JDev 10g. I followed the web services tutorial for 10g. In the end when I tried to run the example I get the following error. Any help will be appreciated. Thanks.
    PS: I am also seeing this error in the message pane for the embedded server "Source Files\JDeveloper\j2ee\home\oc4j.jar;C:\Program does not exist."
    C:\Program Files\JDeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\JavaWebService\Model\classes;C:\Program Files\JDeveloper\jdev\lib\jdev-rt.jar;C:\Program Files\JDeveloper\jdev\lib\jdev-rt.jar;C:\Program Files\JDeveloper\soap\lib\soap.jar;C:\Program Files\JDeveloper\lib\xmlparserv2.jar;C:\Program Files\JDeveloper\jlib\javax-ssl-1_2.jar;C:\Program Files\JDeveloper\jlib\jssl-1_2.jar;C:\Program Files\JDeveloper\j2ee\home\lib\activation.jar;C:\Program Files\JDeveloper\j2ee\home\lib\mail.jar;C:\Program Files\JDeveloper\j2ee\home\lib\http_client.jar webservtest.EmbeddedMyPersonWSStub
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;500 Internal Server Error&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;500 Internal Server Error&lt;/H1&gt;&lt;PRE&gt;Servlet error: Cannot generate Class: &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)
         at org.apache.soap.rpc.Call.invoke(Call.java:268)
         at webservtest.EmbeddedMyPersonWSStub.sayHello(EmbeddedMyPersonWSStub.java:175) at webservtest.EmbeddedMyPersonWSStub.main(EmbeddedMyPersonWSStub.java:40)
    Process exited with exit code 0.

    Hi,
    Unfortunately, your web service is failing at runtime because JDeveloper (and more specifically, the embedded OC4J) is installed in a directory whose path contains a space character. If you move JDeveloper from "Program Files" to another directory, perhaps "Program_Files", then it'll all go smoothly.
    Apologies if this causes you inconvenience.
    Regards,
    Alan.

  • Logon Error when Using soap Web Service

    Hi,
      I'm trying to determine why I'm getting the following error message when I submit a Web Service from our Custom Application to SAP.  This error is occurring in SAP ECC 6.0 SPS16 (Quality Client) and we do not have the JAVA Stack installed.  Our currently Production Installation is SAP ECC 6.0 SPS4 it works with out issues, however the Upgrade to SPS16 has produced alot of differences in web services.
    Also note that this service has been tested succesfully using soapUI Version 2.51. and Version 3.5.1 without producing this error.
    The user that is being utilized in all tests is an Internet User only.  I would also like to know if there is away to trace Internet User authorizatiion issues.
    Any help that can be provide is highly appreciated.
    Error Message:
    Logon failed
    What has happened?
    Call of URL http://bagqs1p1.rac.ray.com:1080/sap/bc/srt/rfc/sap/zwd_material_create/200/zwd_material_create/zwd_material_create
    terminated due to error in logon data.
    Note
    Logon performed in system AGQ.
    Logon performed for client 200, user , and language EN.
    What can I do?
    Check that you have entered the client, user, and password correctly.
    If you do not yet have a user ID, contact your system administrator.
    Error Code: ICF-LE-http-c:200-l:E-T:1-C:5-U:84-P:54-L:5
    HTTP 401 - Unauthorized
    Your SAP Internet Communication Framework Team
    Sincerely,
       Cris Anderson

    All of the web services were created in SOAManager if that is what you mean by setting them up in SAP PI.
    I'm guessing that the HTTP Code 200: OK means they are working correctly.
    - <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <soap-env:Header />
    - <soap-env:Body>
    - <soap-env:Fault>
      <faultcode>soap-env:Server</faultcode>
      <faultstring xml:lang="en">SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</faultstring>
    - <detail>
    - <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
      <Host>undefined</Host>
      <Component>COREMSG</Component>
    - <ChainedException>
      <Exception_Name>CX_SOAP_CORE</Exception_Name>
      <Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</Exception_Text>
      </ChainedException>
      </ns:SystemFault>
    - <ns:SystemFault xmlns:ns="http://www.sap.com/webas/711/soap/runtime/abap/fault/system/">
      <Host>undefined</Host>
      <Component>COREMSG</Component>
    - <ChainedException asx:root="asx:abap" version="1.0" xmlns:asx="http://www.sap.com/abapxml">
    - <asx:values>
      <EXCEPTION href="#o176" />
      </asx:values>
    - <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
    - <cls:CX_SOAP_CORE id="o176">
    - <CX_ROOT>
      <TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>
      <PREVIOUS />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>98</PROGID>
      <CONTID>1113</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_NO_CHECK />
    - <CX_SOAP_CORE>
    - <E_LOCATION>
      <CLASS>CL_SOAP_HTTP_TPBND_ROOT</CLASS>
      <METHOD>get_http_headers</METHOD>
      <ID>3</ID>
      </E_LOCATION>
      <E_TEXT>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</E_TEXT>
      <E_ID>1032</E_ID>
      <E_FAULT_LOCATION>1</E_FAULT_LOCATION>
      <E_AREA>COREMSG</E_AREA>
      <E_HOST>0</E_HOST>
      <E_PROCESS_CONTROL />
      </CX_SOAP_CORE>
      </cls:CX_SOAP_CORE>
      </asx:heap>
      </ChainedException>
      </ns:SystemFault>
      </detail>
      </soap-env:Fault>
      </soap-env:Body>
      </soap-env:Envelope>

  • Problem with email web service

    I'm trying to implement the email web service tutorial.  When I run the application I get the initial page but when I try to send mail I get the following error:
    Service call exception; nested exception is: java.net.UnknownHostException: proxy
    We don't use a proxy server so I'm not sure why this error appears. 
    I tried to disable http proxy server in the Systems Administration. 
    Any ideas would be greatly appreciated.
    Ross

    Hi Michael,
    This exception is thrown if at runtime for service exceution the host ip address could not be resolved. It could happen if service provider server is down, not responding or out of network . Another cause could be if you have not configured the proxies in Visual admin to go out of network .
    regards
    dhawal

  • Email web service example as an Adaptive Web Service Model

    Hi All,
    I am using email web service example as an Adaptive Web Service Model in my Web DynPro application (The WSDL of the application that I use is:
    http://www.abysal.com/soap/AbysalEmail.wsdl).  While loading the WSDL file I am getting following error in log file. Could someone please help me what would be the problem?
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:149)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:49)
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:71)
         at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:411)
         ... 53 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
         at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:146)
         ... 56 more
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect -> java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1028)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1115)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 57 more
    Caused by: java.io.IOException: Cannot connect to http://www.abysal.com/soap/AbysalEmail.wsdl, passing via http proxy: :80: Connection refused: connect
         at com.sap.engine.services.webservices.tools.WSDLDownloadResolver.resolveEntity(WSDLDownloadResolver.java:161)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1008)
         ... 59 more
    Thanks,
    Naresh

    Hi Naresh,
    See if any of the following threads help, all are related to the same wsdl:
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=54635">https://www.sdn.sap.com/irj/sdn/thread?threadID=54635</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=95335">https://www.sdn.sap.com/irj/sdn/thread?threadID=95335</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=58137">https://www.sdn.sap.com/irj/sdn/thread?threadID=58137</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=36756">https://www.sdn.sap.com/irj/sdn/thread?threadID=36756</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=204762">https://www.sdn.sap.com/irj/sdn/thread?threadID=204762</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=37640">https://www.sdn.sap.com/irj/sdn/thread?threadID=37640</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=80384">https://www.sdn.sap.com/irj/sdn/thread?threadID=80384</a>
    In most of these threads, the suggestion given has been to try using the following wsdl:
    <a href="http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.abysal.com/soap/AbysalEmail.wsdl">http://www.mindreef.net/tide/scopeit/start.do?referer=xmethods&url=http://www.abysal.com/soap/AbysalEmail.wsdl</a>
    Tutorial related to this web service is:
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c6e81e5-0601-0010-e8b0-8d5c74a21cd1">https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c6e81e5-0601-0010-e8b0-8d5c74a21cd1</a>
    (page 181)
    Bye
    Ankur
    Reward points if it helps!!

  • Unsupported Version error when trying to run Web Services Tutorial example

    Hi there,
    I'm trying to run the first example from the Java Web Services Tutorial and get the following error when I type 'asant build' in my Command Window.
    Buildfile: build.xml
    BUILD FAILED
    java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/WsImport (Unsupport
    ed major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
    assLoader2.java:76)
    When I do a java -version I see my version is Java 1.5, and I'm not sure why the build is still trying to use Java 1.4. I do not want to delete the 1.4 from my machine as it is used for something else.
    C:\jwstutorial20\examples\jaxws\helloservice>java -version
    java version "1.5.0_09"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
    Could you please help me with this problem?
    Thanks in advance.
    Azeem.

    Hi Azeem.
    Check out values specified for JAVA_HOME, PATH and CLASSPATH under environment variable. Was facing the same problem. Changed the values to point to jdk1.5 and it is working now.
    BTW.
    You don't have to uninstall jdk1.4.
    Cheers!!!

  • Error connecting to Salesforce using a Web Service Adapter

    Hi,
    I'm working on a connection from Data Services 4.2 to Salesforce using a Web Service Adapter.
    I've setup up the adapter (including JVM parameters to use a HTTP proxy), created a Datastore based on the adapter and built a batch job that calls the login operation and initiates a sessions towards Salesforce.
    When I execute the batch job I get an error message that says:
    Error calling function <login>: <Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()>.
    The trace log for the Web Service Adapter contains the same error message and has some additional info.
    4/16/15 1:17:25 PM Thread[Thread-10,5,main] Handle request starting for operation: login
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addDocumentMessage()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addHeadersToEnvelope()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Remove message listener for message type [adapter.WSAdapter.__STREAM_FUNCTION.1].
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Stopping web service function call operation
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Receive message: BrokerMessage(
    _e.ErrorsTo=com.acta.adapter..client.dataAndMetadata_8
    _e.Timestamp=Thu Apr 16 13:17:26 2015
    _e.SourceTimeoutLength=90000
    _e.MessageID=16
    _e.Destination=com.acta.adapter.webservice.adapter.WebServiceAdapter.data_2
    _e.MessageType=MSG_ADAPTER_END_OPER
    _e.ReplyTo=com.acta.adapter..client.dataAndMetadata_8
    _e.CorrelationID=15_com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_SESSION_ID=2
    _e.Source=com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_OPER_ID=1)
    I've searched for any additional tracing/logging on the server but I haven't found anything relevant. Can anyone help me determining what the cause of this error is so I can solve this?
    Thanks,
    - Ian

    Hi,
    I'm working on a connection from Data Services 4.2 to Salesforce using a Web Service Adapter.
    I've setup up the adapter (including JVM parameters to use a HTTP proxy), created a Datastore based on the adapter and built a batch job that calls the login operation and initiates a sessions towards Salesforce.
    When I execute the batch job I get an error message that says:
    Error calling function <login>: <Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()>.
    The trace log for the Web Service Adapter contains the same error message and has some additional info.
    4/16/15 1:17:25 PM Thread[Thread-10,5,main] Handle request starting for operation: login
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addDocumentMessage()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Entering addHeadersToEnvelope()...
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Web Services client unable to create a SOAP request to send to server. Error: The current node has been removed using a method other than Iterator#remove()
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Remove message listener for message type [adapter.WSAdapter.__STREAM_FUNCTION.1].
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Stopping web service function call operation
    4/16/15 1:17:26 PM Thread[Thread-10,5,main] Receive message: BrokerMessage(
    _e.ErrorsTo=com.acta.adapter..client.dataAndMetadata_8
    _e.Timestamp=Thu Apr 16 13:17:26 2015
    _e.SourceTimeoutLength=90000
    _e.MessageID=16
    _e.Destination=com.acta.adapter.webservice.adapter.WebServiceAdapter.data_2
    _e.MessageType=MSG_ADAPTER_END_OPER
    _e.ReplyTo=com.acta.adapter..client.dataAndMetadata_8
    _e.CorrelationID=15_com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_SESSION_ID=2
    _e.Source=com.acta.adapter..client.dataAndMetadata_8
    _a.MSGFIELD_ADAPTER_OPER_ID=1)
    I've searched for any additional tracing/logging on the server but I haven't found anything relevant. Can anyone help me determining what the cause of this error is so I can solve this?
    Thanks,
    - Ian

  • About Using Ant in Web Services Tutorial 1.0.1

    I downloaded the latest version of the Java Web Services Tutorial 1.0.1 and trying to run the
    sa,ple applications from ConvertedApp.java. When I type in "ant build"(ant version is 1.4.1), I
    am gettigng the error saying
    " Usage is java [options] class ........"
    as if implying that the classname is missing somewhere!!
    Can anyone please give any clue what might go wrong here?
    (I am on Windows 2000).
    Thanks

    Hello.
    For example, build.xml is in the folder:
    d:\jwsdp_tutorial\docs\tutorial\examples\gs\build.xml
    Then write a bat-file in the same folder that looks like this:
    -------------------- BEGIN --------------------
    set JAVA_HOME=d:/j2sdk1.4.1
    set ANT_HOME=d:/jakarta-ant-1.5.1
    set CATALINA_HOME=d:/jakarta-tomcat-4.1.18
    %JAVA_HOME%/bin/java -cp %JAVA_HOME%/lib/tools.jar;%JAVA_HOME%/jre/lib/rt.jar;%JAVA_HOME%/jre/lib/jaws.jar;%ANT_HOME%/lib/ant.jar;%ANT_HOME%/lib/optional.jar;%ANT_HOME%/lib/xercesImpl.jar;%ANT_HOME%/lib/xml-apis.jar;%CATALINA_HOME%/server/lib/catalina-ant.jar -Djwsdp.home=d:/jwsdp_tutorial org.apache.tools.ant.Main -logfile build.log -buildfile build.xml
    -------------------- END --------------------
    Additionally you have to install j2sdk1.4.1, jakarta-ant-1.5.1 and jakarta-tomcat-4.1.18.

  • Error in calling External web service from soa suite 11.1.1.3

    Hi
    I am getting following error while calling external web service......
    ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.integration.platform> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <SOA-20136> <WS Binding: exception durign SOAP invocation: java.util.NoSuchElementException>
    ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866047> <BEA-000000> < Payload after BaseActionHander.requestMessage :{parameters=oracle.xml.parser.v2.XMLElement@bd2382}>
    ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.soa.mediator.common> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-490B9BABECE372A277DF> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529866063> <BEA-000000> < Properties after BaseActionHander.requestMessage :{ReferenceInstance=[email protected]63ea5,
    ####<Jan 20, 2011 6:54:29 PM IST> <Error> <oracle.webservices.service> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <24b9eca72eaaa6a3:-4bc6fb7c:12da206ca2c:-7ffd-0000000000006287> <1295529869375> <OWS-04115> <An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: oracle.fabric.common.FabricInvocationException.>
    I am able to hit external ws from soap ui and getting response but while calling from soa suite getting this error.
    Any clues?
    Thanks
    Vibhor

    WS Binding: exception durign SOAP invocation: java.util.NoSuchElementException
    Looks like the error is in the data sent to or expected from the service in your composite. Check that audit logs and composite flow to make sure your soap message when using soapui matches what you are working with in soa suite.

  • Error while completing a web service

    Hi,
      I have create a RFC,  now   to use that as a web service I have done the stpes for creating a web service as given in the link
    sap technical link tutorial, web service create
    when I click  on complete button system is giving a messge as Error during activation of web service.
    what  configuration required for this    we have ECC6 system.
    regards,
    zafar
    Edited by: zkarnalkar on Dec 3, 2010 11:13 AM

    I guess that would depend on the error you're receiving - what is it?  I've never seen a generation error for a service provider when following the few steps required, but you could debug the activation if the message isn't clear.  Service consumer errors happen all the time and are generally related to WSDL file compatibility.

  • Errors when compiling the web service (SAP Web Service Design Tool)

    After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
    There are errors when compiling the web service.
    Is does not say whatu2019s wrong or how I can solve this problem.
    Who can help me?
    Some notes:
    1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
    2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
    Thanks for any help,
    Ron
    ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
    Edited by: RonKoudijs on Aug 26, 2010 6:28 PM

    Hello Taylan,
    I think the error that you received was due to packaging issues.I placed the
    UtilClass.java file under a directory called data which was present under
    the project directory.
    When you want to access a java class, you can either place the compiled
    class file in the WEB-INF/classes folder or you can place the java file
    under the project directory.
    I have attached the sample project that I created with your files.
    Let me know if you have any other questions.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "taylan" <[email protected]> wrote in message
    news:3d6351b0$[email protected]..
    >
    I am trying to write a simpe web service in WebLogic Workshop, but havingan error
    which I could not understand. Could you please help me? Thanks in advance.
    Regards,
    Taylan
    My web service code is like belows:
    import weblogic.jws.control.JwsContext;
    import data.*;
    public class WebService1
    /** @jws:context */
    JwsContext context;
    * @jws:operation
    public UtilClass testType(UtilClass tTest){
    UtilClass returnObj=new UtilClass();
    if(tTest.getName()!= null){
    returnObj.setName(tTest.getName());
    return returnObj;
    and my UtilClass is placed in the data directory under the same directorywith
    my web service code. It is a simpe class as belows:
    package data;
    public class UtilClass
    private String name;
    public void setName(String name){
    this.name=name;
    public String getName(){
    return name;
    However I got an error when I try to compile the webservice class. Theerror is
    like belows:
    File Line Message
    WebService1.jws 0 Resource found on system classpath: data.UtilClass
    Build complete - 1 error(s), 0 warning(s)
    [ngroup.zip]

  • Error when querying REST web services from web-based InfoPath form 2013 environment

    Error when querying REST web services from web-based InfoPath form 2013 environment, we are trying to consume REST web service in InfoPath form ( SharePoint 2013 version) 
    http://spapp/sites/litigation/Intake/_api/web/lists/getbytitle('Email%20Profiles')/items(1)
    it works in preview but does not when it is published. because of claim based authentication i m getting below error
    The form cannot run specified query, the underlying connection was closed. An expected error occurred 
    same works in 2010 environment .. are we missing anything in 2013 servers?? please let me know how we can resolve it.. thank you 
    guru

    everyone face this issue, nothing in event viewer, its easy to reproduce error at ur end also.. 
    just you need to use below web service in infopath and populate some data on form load like id = 1 pull the title and try to set in form any field...the
    list has one item thats all
    guru

  • Web Services tutorial - problems executing

    I've recently installed jdeveloper onto winXP pro from the jdev9i_902.zip download and installed to D:\jdeveloper. Following the instructions I also installed JDK1.3 to D:\jdk1.3.1_04. I ran the setup for oc4j.
    The problem I have is that when I followed the "Publish a stateless Java class as a Web service" tutorial, everything goes well until I run it. The errors produces are (taken from the tcptunnel output):
    ===========
    HTTP/1.1 100 Continue
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Date: Sat, 20 Jul 2002 18:35:21 GMT
    HTTP/1.1 500 Internal Server Error
    Date: Sat, 20 Jul 2002 18:35:22 GMT
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Content-Length: 853
    Set-Cookie: JSESSIONID=72fa269c5c2f46889c1fe8e2b69b981d; Path=/
    Cache-Control: private
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>Servlet error: Cannot generate Class: error: Invalid class file format in E:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    D:\jdeveloper\j2ee\home\application-deployments\WorkspaceStatelessJava-ProjectStatelessJava-WS\WebServices\temp\__java_stateless_rpc\__HelloImplStatelessWrapper.java:0: Class java.lang.Object not found in class oracle.j2ee.ws.InvocationWrapper.
    ^
    D:\jdeveloper\j2ee\home\application-deployments\WorkspaceStatelessJava-ProjectStatelessJava-WS\WebServices\temp\__java_stateless_rpc\__HelloImplStatelessWrapper.java:8: Class java.lang.Object not found in import.
    import java.lang.Object;
    ^
    3 errors
    </PRE></BODY></HTML>
    =======
    The main section that concerns me is "Invalid class file format in E:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). ", why is using this?
    Any feedback on this is appreciated.
    Dave

    Dave, given the messages returned indicate your configuration is looking at a j2se1.4 directory, I think that is the problem. Neither OC4J or JDeveloper are certified with JDK 1.4. I realize that you have installed 1.3 so my guess is that in following step 8 and 10 of the "Installing and Running Oracle9iAS Containers for J2EE" where it says:
    8. Install the J2EE container using the following command: java jar oc4j.jar install
    10. Start the J2EE container by issuing the following command: java jar oc4j.jar Show me.
    the problem is that the commands were not prefixed with the location of your JDK 1.3 installation and by default picked up the later JDK 1.4. I think you will be able to get around it by running the commands as follows (replacing directory names by your locations):
    <jdk1.3_home>\bin\java -jar oc4j.jar -install
    <jdk1.3_home>\bin\java -jar oc4j.jar
    Your JDeveloper should be fine unless you changed its JDK to also be 1.4; by default it uses its own built-in 1.3 JDK.
    Hope this points in the right direction.
    Mike.

  • Exception when trying to run an Web Application that uses a Web service

    Hello All,
    I get an exception when trying to run an Web Application that uses a Web service. The web application is a WebDynpro Application.(an application similar to the one "Using an Email Web Service in Web Dynpro" in the tutorial section of Web Dynpro but using a different web service)
    The exception is
    <b>Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.</b>
    Could anyone give me an idea on what might be the problem ?
    Regards,
    Loveline.

    Hello,
    Like you said it was the problem with url.
    The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
    Thanks !
    Regards,
    Loveline.

Maybe you are looking for

  • N8 apps make unwanted internet connection automati...

    Dear users, I have had my N8 for a week now. It's beautiful, but there is only one issue I cannot resolve. With my other Nokia's (also Vodafone as provider) I was able to set any internet connection manually by selecting "Always ask" in the phone's c

  • LG Smart TV_Flash 10

    My LG smart TV has version 10 of Flash installed. This however doesnt play flash videos from the internet. Is there any way I can upgrade just the version of flash in the TV. Or is there any other solution to play these videos through TV(apart from s

  • Query on People Screen

    Hi All, In the people screen - Enter and Maintain. There is Others button at bottom right corner. I want to insert an entry into the others tab and invoke my page on clicking that menu. Can anyone please help me how to create an entry in others tab T

  • How come I can't subscribe in Zencast manag

    I tried using the Zencast subscribe to subscribe to a mp3 file (actually a podcast page, but as it's an mp3 I figured there wouldn't be any conflict) when I enter the url it says "you are not connected to the internet the page could not be found, che

  • LMS 4.0 Service Temporarily Unavaliable

    Hello A few days ago we upgraded LMS to version 4. It worked fine, but after installing patches and updates from Cisco web, the web interface failed and we haven't been able to restore the service. I get this error: Service Temporarily Unavailable Th