Error when importing a web service from ES Workplace to NWDS

Hi guys,
I'm working with SAP NetWeaver Developer Studio (SAP NetWeaver 7.1 Composition Environment SP03 PAT0000 Build id: 200710302120)
The connection (through Services Registry) to the ES Workplace was successful. I found the service definition and the endpoint for the selected service definition I wanted. But when I clicked "Finish", I got a "Web Service Import Error":
Web Service can not be imported due to some errors.
java.lang.reflect.InvocationTargetException
java.lang.NullPointException
error detail:
java.lang.reflect.InvocationTargetException
     at com.sap.caf.designer.ui.actions.es.WSImportAction$1.run(WSImportAction.java:188)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: java.lang.NullPointerException
     at com.sap.caf.foundation.mfw.types.CoreTypes.getAllTypesForApplication(CoreTypes.java:353)
     at com.sap.caf.foundation.mfw.types.CoreTypes.initializeCoreTypes(CoreTypes.java:197)
     at com.sap.caf.foundation.mfw.types.CoreTypes.getType(CoreTypes.java:227)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.getBuiltInSimpleType(WSImportManager.java:849)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleType(WSImportManager.java:712)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleTypeWithRestrictions(WSImportManager.java:883)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleType(WSImportManager.java:728)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:663)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createMessage(WSImportManager.java:630)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createInputMessage(WSImportManager.java:605)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createOperation(WSImportManager.java:569)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createOperations(WSImportManager.java:518)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.importInterface(WSImportManager.java:495)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.importWebService(WSImportManager.java:265)
     at com.sap.caf.rt.connectivity.ImportManager.importWebService(ImportManager.java:53)
     at com.sap.caf.designer.ui.actions.es.WSImportAction$1.run(WSImportAction.java:180)
     ... 1 more
java.lang.NullPointerException
     at com.sap.caf.foundation.mfw.types.CoreTypes.getAllTypesForApplication(CoreTypes.java:353)
     at com.sap.caf.foundation.mfw.types.CoreTypes.initializeCoreTypes(CoreTypes.java:197)
     at com.sap.caf.foundation.mfw.types.CoreTypes.getType(CoreTypes.java:227)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.getBuiltInSimpleType(WSImportManager.java:849)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleType(WSImportManager.java:712)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleTypeWithRestrictions(WSImportManager.java:883)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createSimpleType(WSImportManager.java:728)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:663)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createField(WSImportManager.java:1059)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createFields(WSImportManager.java:1046)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createComplexType(WSImportManager.java:967)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createAttribute(WSImportManager.java:671)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createMessage(WSImportManager.java:630)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createInputMessage(WSImportManager.java:605)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createOperation(WSImportManager.java:569)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.createOperations(WSImportManager.java:518)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.importInterface(WSImportManager.java:495)
     at com.sap.caf.rt.connectivity.ws.WSImportManager.importWebService(WSImportManager.java:265)
     at com.sap.caf.rt.connectivity.ImportManager.importWebService(ImportManager.java:53)
     at com.sap.caf.designer.ui.actions.es.WSImportAction$1.run(WSImportAction.java:180)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Thanks in advance
Wenhao

Hi Wenhao,
I did face something similar ....but when i tried it again...it worked..
In case it does not then before u try to start the procedure to dwnld the Enterprise service wsdl....
uncheck the wsdl validator check box in NWDS...
I suggest u first try to consume the wsdl by importing it locally...
just follow this blog by Boris step by step..
/people/boris.mohr/blog/2007/01/23/how-to-guide-for-consuming-a-web-service-with-a-standalone-client-using-sap-netweaver-application-server-javatm-ee-5-edition
Once u r able to do this..then u can try to consume it from service registry
Edited by: Mohd Tauseef Ibrahim on Jun 26, 2008 2:28 PM
Edited by: Mohd Tauseef Ibrahim on Jun 26, 2008 2:30 PM

Similar Messages

  • 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

  • Error when generating a Web Service from WSDL (Weblogic Workshop)

    Hi,
    I am using weblogic workshop 10 for implementing web services and its was working fine. But now when I try to generate a web service from WSDL its crashing with the following error;
    Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
    org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:107)
         at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    org.eclipse.core.runtime.CoreException[4]: com.bea.workshop.webservices.core.gen.WebServicesException:
         at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:154)
         at com.bea.workshop.webservices.core.gen.GenerationScript.createJWS(GenerationScript.java:98)
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws0(JwsFromWsdlBuilder.java:135)
         at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:98)
         at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
         at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
         at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
         at org.eclipse.ant.core.AntRunner.problemLoadingClass(AntRunner.java:445)
         at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:417)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:362)
         at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:152)
         ... 8 more
    I have checked my ANT_HOME and its pointing to the correct location bea\tools\eclipse32\eclipse\plugins\org.apache.ant_1.6.5 and the AntMain classs is present in this path: org.apache.tools.ant.launch.AntMain
    If anyone has any idea on this please suggest a solution.
    Thanks in advance
    -AKJ

    Yes, I assume you are talking about ANT_HOME:
    see this Screenshot which shows my current settings
    [http://i43.tinypic.com/nbrec6.jpg|http://i43.tinypic.com/nbrec6.jpg]
    Regards
    -AKJ

  • Error when calling Java Web Services from ABAP.

    Hello experts:
        In my project, I will call Java Web Services with ABAP coding. With WSDL, I generated a proxy class and created a HTTP connection (t-code: SM59) and a logical port (t-code:lpconfig) for this proxy class. But when running, I would receive the folllowing errors:
       SOAP:1.023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: HTTP COMMUNICATION FAILURE")
       If I used HTTPS, there is no problem.
    Regards
    Bob

    Hi Bob,
    It might be the possibility that your java web server is configured to listen only on HTTPS.
    If your HTTPS is working fine, then first check with your JAVA server for HTTP connectivity, then try it calling through ABAP.
    Regards,
    Piyush

  • "Invalid text value" error when calling a web service from a workflow in SharePoint Online

    I'm trying to create a workflow that loops through a list in SharePoint Online using a REST web service call. However, I'm having
    some trouble trying to pass the authentication token as described in the following article.
    http://www.fabiangwilliams.com/2013/09/03/more-on-sharepoint-2013-r...
    Basically, the workflow stops right at the "Call web service" action, and the only error it tells me is the following.
    Invalid text value.
    A text field contains invalid data. Please check the value and try again
    Has anyone had success with web service calls to SharePoint Online?
    Dan Kreitz, Solutions Architect, Séafra Inc.

    Hi DanPoint,
    Thank you for your sharing!
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • 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]

  • I get an web service error when trying enable web services. I have latest update and rebooted

    i get an web service error when trying enable web services. I have latest update and rebooted

    hi there philnj,
    could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Parse errors while creating a Web service from Java class!

    Can anybody tell me please, is it possible to create a Web Service from java class where the input from user is required ?
    I have the following program, which is successfully compiled, but when I'm trying to make a web service in JDeveloper, the following error occurs:
    "Validation failed.
    The implementation class primePackage.isPrime ofport type MyWebService contains parse errors."
    import java.io.*;
    import java.util.*;
    class isPrime
    public static void main (String args[])
    Scanner reader = new Scanner(System.in);
    int n;
    System.out.println ("Enter a number you want to know is it prime or not");
    n=reader.nextInt();
    if (isPrime(n))
    System.out.println ("True");
    else
    System.out.println ("False");
    static boolean isPrime (int n)
    int i=2;
    while (i<=n-1)
    if (n%i==0)
    return false;
    i++;
    return true;
    }

    Hi,
    Can anybody tell me please, is it possible to create
    a Web Service from java class where the input from
    user is required ?Yes, the parameters of your method will be mapped in WSDL.
    But i've some considerations about your code.
    I suggest you change the name of isPrime do Prime, its a good code convention to put the name of class starting with Upper case. and isn't good the name of class equals to name of method.
    I suggest you to change the "static boolean isPrime (int n)" to "public boolean isPrime(int n)" to publish a method as a WebService method it's must be public and not static. After this change try to generate your Web Service.
    Regards.

  • Authorization error calling a XI web service from Web Dynpro

    Hi all,
    I'm trying to communicate to XI from a Web Dynpro application but I get an Unauthorization error (401).
    I've generated a WSDL in XI and import it to web dynpro as a new Model. But when a I call the web service, the exception "Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized." appears.
    I don't know how to pass the right user and password from Web Dynpro, I've tried the web service from SOAP client tools and it works fine.
    I'll apreciate any help.
    Regards,
    Diego.

    Hola mi  nombre es Luis,
    Creyendo que eres español te escribo en tal idioma.
    He visto que a ti también te devolvía un error de autentificación 401, y que lo subsanaste, pero a mi con la solución que te dieron no me vale, ya que implemento el código que te ofrecieron para arreglarlo y ahora me da un fallo de "Server Error" poniendo en usuario y password, los correspondientes a XI.
    +Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay req=new Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay();
    wdContext.nodeRequest_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay().bind(req);
    req._setUser("username");
    req._setPassword("password");+
    No sé si es que ese usuario y contraseña son otros distintos.
    Si pudieras ayudarme, te lo agradecería.
    Un saludo, Luis

  • Error while calling a web service from BCM to CRM

    Dear Experts,
    I'm calling a CRM web service from BCM via Custom IVR. The web service works fine when run using SOAPUI. But when called from BCM, there is an error in the CEM logs as mentioned below:
    11:16:51.515 (11224              ) ERR> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: SoapClient::Invoke3 - Unknown operation ZCRMU_CUST_AUTHO_ONCALL
    11:16:51.515 (11224              ) ERR> [EXC] : IvrApplication.callSoapMethod (CALL_ID=48B73B3988FDD541BD0722E4D6512E26): Exception
    11:16:51.516 (11224              ) ERR> <type 'exceptions.RuntimeError'> : SoapClient::Invoke3 - Unknown operation ZCRMU_CUST_AUTHO_ONCALL
    11:16:51.518 (11224              ) ERR> File: .\IvrApplication.py (1728)  Func: callSoapMethod          <None>
    11:16:51.518 (11224              ) ERR> File: .\soaplib.py    (  25)  Func: __call__                <None>
    11:16:51.518 (11224              ) ERR> File: .\soaplib.py    (  40)  Func: __request                <None>
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: TcpConnection::OnDisposed
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: Disposed while still connection open
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: Close
    11:16:51.518 (11224              ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: CloseMySocket - closed
    11:16:51.518 (08220/IpcWorker    ) DBG> ThreadPool[00558068]: WorkerThread GetQueuedCompletionStatus result=0 poverlapped=09E21C6C key=0C3D6220 bytes=0
    11:16:51.518 (08220/IpcWorker    ) DBG> ThreadPool[00558068]: IIoCompletion pending=1
    11:16:51.518 (08220/IpcWorker    ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: OnIoCompletion 09E21C6C result=0 bytes=0
    11:16:51.518 (08220/IpcWorker    ) DBG> (0C3D6294) LastError::WinError TcpConnection::OnIoCompletion - 10038 (0x2736) An operation was attempted on something that is not a socket.
    11:16:51.518 (08220/IpcWorker    ) DBG> Connection/0C3D6220 [0.0.0.0:0->172.16.213.11:8000]: OnIoCompletion 09E21C68 receive
    It seems that through the IVR the web service is not even reached. I discovered this by inserting an external break point in the CRM Function Module which is called by the web service.
    Can anybody help me in resolving this error? I'm working on BCM 7 SP 6.
    Thanks in Advance.
    Regards,
    Swapna

    Hi Swapna,
    from your screenshot it seems that you actually try to call the service in your Data Source Expression field. You should set path to the WSDL file here actually - this could be either URL to SAP or to filesystem, as Anton suggested (this could be faster). Have you created endpoint binding for your service in transaction SOAMANAGER? If yes, then simply download the corresponding WSDL with binding or copy the URL which leads to it. But also test whether you are able to retrieve the WSDL without logging into SAP (close all browser windows and then open a new one otherwise session ID from other browser windows can be reused).
    If you have to give username and password, then setup anonymous alias in transaction SICF, for example.
    Pleas, check my previous post on the same subject here: Re: BCM7 IVR : SOAP request for client identification in CRM .
    Maybe it could help.
    Regards,
    Dawood.

  • Error while Importing a Web Services Model

    Hi,
    I have developed an Web Dynpro application for sending an e-mail message, using an e-mail Web service provided by an external service provider (in this case http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService) as provided in the SAP NetWeaver Online Help Documentation.
    When i attempt to import a Web Service (mentioned above ) using UDDI or URL as the WSDL source  i get a error whose description goes as follows
    " Invalid WSDL or WSDL not Found, Please specify different WSDL or Check WSDL location entered in the previous screen"
    There are steps provided for carrying settings changes if my HTTP connection to the e-mail Web service uses an HTTP proxy.
    However this can be done only after the Model (Using Import Web services has been created). The above error does not allow me to proceed to create the Model and do the subsequent HTTP settings
    Can Somebody help in this regard
    Badrinath Parthasarathi

    Valery,
    I have checked the Proxy settings in the DEV studio at Window->Workbench->Proxy Settings and they are in sync with my Browser Proxy settings.
    Yes, I do have to go thru proxy server for Internet access
    Could you advice which proxy settings would i need to carry out.
    Also One question. As i am using a external (Non-Local)Web Service would i need to register the Web Service?
    Would any UDDI Config settings need to be done on my part such as
       -  Setting the UDDI Registery
       -  Creating Users to access UDDI Client
       -  Carrying out related HTTP proxy settings
    Thanks N Regards
    Badrinath Parthasarathi

  • QName error while calling a web service from Sourcing

    I need to call a web service from Sourcing script. The web service team has provided us the WSDL and I have generated the required stubs using wsimport and packaged the required java classes in a custom JAR. Now while calling a web method using this jar from my script, I am getting and exception. The exception message that I printed out was this:
    Caught exception e with msg Connection IO Exception. Check nested exception for details. (Connection
    IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
    java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).)
    The same jar and same code works fine when called from a standalone java program.
    I am not using or creating QName anywhere in my script. The only place where QName is used is in the generated java class and there it is created from the correct namespace URL
    Can anyone please help me out in figuring out what is the issue?

    This is the stack trace of the error:
    #2.0 #2014 05 08 09:02:30:915#+00#Error#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#
    #BC-ESI-WS-JAV-RT#webservices_lib#C000CF8242BA4B800000002100002648#2174850000000005#sap.com/E-Sourcing-Server#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#VAC53324#89##D811EE96D68E11E3C9E0000000212F82#3cf7fe38d68f11e3c963000000212f82#3cf7fe38d68f11e3c963000000212f82#0#Thread[RequestHandler.RqThread: fullsave,5,Dedicated_Application_Thread]#Plain##
    Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
    [EXCEPTION]
    com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
        java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:256)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1318)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:991)
        at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:945)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
        at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
        at $Proxy2539.grantOrganizationRoles(Unknown Source)
    I tested the same custom JAR, that is deployed in Sourcing, separately using a standalone java program and there it gave back the correct SOAP response

  • 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>

  • 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 when consuming a web service in CF 11

    I am consuming a web service in ColdFusion what was written in .NET.  Some methods of the web service work fine, but some we get the below error.  We have identified the issue is the name of one of the properties in the web service appears to be the issue.  The property name is ID.  This is a very common property name so I would think someone has run across this before.  It appears that maybe ID is a default property for Axis?  I can dump the method that works and I see there is a getID() method with a return type of org.apache.axis.types.Id.
    If we change the name of the property to something other than ID it works, but this will cause us to refactor a lot of code.
    Here is the error I get when I try to call GetRoles method, which contains an ID property:
    Cannot perform web service invocation GetRoles. The fault returned when invoking the web service operation is:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: For input string: "i1"
    java.lang.NumberFormatException: For input string: "i1"
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: For input string: "i1"
    java.lang.NumberFormatException: For input string: "i1"
    at org.apache.axis.encoding.ser.BeanDeserializer.onStartElement(BeanDeserializer.java:462)
    at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393)
    at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154)
    at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java: 1048)
    at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
    at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
    at org.apache.axis.message... ''
    I am running CF 11 Update 4.

    I am not passing any parameters to the method (it has no parameters).  On the ColdFusion side I do not use i1 anywhere.  I will check with the .net developer on Monday to see if he is using it anywhere in his code.  If he is he is using in consistently as the only methods that work from his service are those that do not have an ID property.  All services with an ID property give me the same error message.

Maybe you are looking for

  • Fastest Protocol for file transfers (mybook world)

    So I have this NAS hookd up to my network and it appears on my finder and great. I'm getting 2.5Mb max throughput.....but, I know there are various protocols to choose from, the default, i dunno. Since im optimizing for speed, which would be the best

  • When I expand the address bar it shows sites I have visited in the past, how can I clear this?

    When I go to my address bar and click on the small arrow to the right the bar expands to show sites I have visited in the past. The only problem is that these are sites I have visited a LONG time ago. I want to clear these sites and populate this dro

  • XMII content area not opening after Netweaver patch update.

    Hi all, Recently we upgrade Netweaver patches [few] from 7.3 SP7 to 7.3 SP9, after the patch update XMII is not show main content area, Header and links in the left panel are displayed but the main content area is blank. Error Trace: #2.0 #2014 07 14

  • Hi expert, UDF HIDING PROBLEM

    Hi all, my code below i m getting proble when i hiding udf . i done using this code but application got slow because each time this event called.    If pVal.FormType = "-142" Then                 Try                     If BubbleEvent = True Then    

  • RMI Server Instance Timeout

    Hi I have a Server instance which is used by clients once in 2 days. what i want is ,if the instance is not used by any client for 1 day,it should be cleaned up.And if the clients give a request on second day,a new instance should be made and serve t