Consume the webservice in PI Box

Dear Experts,
I have created a Java Class that calls a webservice deployed in PI 7.1. Below is the java code
     private String sendingDataToPISystem(String userName, String password, String endPointReference, String nameSpace, String serviceName, String localPart, Object inputData)
          String returnValue = null;
          try
               QName serviceQName = new QName(nameSpace, serviceName);
               QName portQName = new QName(nameSpace, localPart);
               Service service = Service.create(new URL(endPointReference), serviceQName);
               Map map = ((BindingProvider)service.getPort(portQName, serviceQName.getClass())).getRequestContext();
               map.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endPointReference);
               map.put(BindingProvider.USERNAME_PROPERTY, userName);
               map.put(BindingProvider.PASSWORD_PROPERTY, password);
               service.addPort(portQName, HTTPBinding.HTTP_BINDING, new URI(endPointReference).toString());
               Dispatch<Object> dispatch = service.createDispatch(portQName, Object.class, Service.Mode.PAYLOAD);
               dispatch.invoke(inputData);
               returnValue = "SUCCESS";
          }catch(Exception exception)
               returnValue = "FAILURE";
               exception.printStackTrace();
          }finally
               return returnValue;
This code is not throwing any error but at the same time unable to make a call to webservice in PI box
Note: I am using NWDS CE 7.1 SP 10PAT0001
Please Advice what should be done, inorder to make my Java class work.

Hi Tiny,
Now when executed from java i am getting the following exception. Please help
javax.xml.ws.WebServiceException: SEI <javax.xml.namespace.QName> is not known to client ServiceContext!
at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.getPort(SAPServiceDelegate.java:237)
at javax.xml.ws.Service.getPort(Service.java:94)
at com.olam.iolam.services.IOLAMServices.sendingDataToPISystem(IOLAMServices.java:334)
at com.olam.iolam.services.IOLAMServices.fetchIOLAMRecords(IOLAMServices.java:162)
at com.olam.sourcewebservice.SourceWebService.fetchIOLAMRecords(SourceWebService.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.services.webservices.runtime.JavaClassImplementationContainer.invokeMethod(JavaClassImplementationContainer.java:96)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:353)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:329)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:211)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:155)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:96)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:66)
at com.sap.engine.services.webservices.servlet.SOAPServletExt.doPost(SOAPServletExt.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
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:152)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)

Similar Messages

  • Error While Consuming the webservice in ABAP

    Hi,
      I am trying to consume a webservice in ECC. I have imported the WSDL and generated the proxy. Did the configuration in the SOAMANAGER. While calling the webservice from the program I am getting the following error message. "SRT: Unsupported xstream found: ("HTTP Code 400  : Bad Request")"
       Any help is appreciated.
    Thanks
    Raghavendra Kuamr

    Hi,
    Check ST11 to find detailed log of issue, most likely you are passing "WS-A" message id along with request (check settings in SOAMANAGER Logical Port).
    Try calling service after suppressing "Message Id transfer". See SAP Note: 1361688 and related notes in 0001292171
    Regards,
    Gourav
    PS: please search forum before posting questions.

  • Consuming the webservice in PLSQL

    Dear Experts,
    I have created a webservice using NWDS and deployed it in EP Java Stack and i was able to test this webservice from WSNavigator. 
    Now when i am trying to consume the same webservice from PLSQL. I am getting the below exception
    ORA-29532: Java call terminated by uncaught Java exception: service: {urnLAMWSWsd/OLAMConfig/document}OLAMWS does not contain port: {urnLAMWSWsd/OLAMConfig/document}OLAMConfigPort_Document
    please advice what to do
    Thanks and Regards
    Hari Krishna

    Hi,
    I also think that there is something wrong with the call from PLSQL but try testing the webservice using SoapUI or XMLSpy or any other SOAP client. If it works fine that way then you have conclusive proof that you need to re-check your request call in PLSQL.
    Regards, Trevor

  • How to consume the webservice if it returns the data in dataset format

    Dear All,
    We have a requirement to consume webservice created in .NET platform. In that webservice they are returning data in dataset format. In this case i am not able to create a proxy. It is showing the following information.
    Cannot generate proxy (object schema mis
    WSDL, see long text)                   
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
      <s:import namespace="http://www.w3.org/2001/XMLSchema" />
    - <s:element name="getTaskEffort">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="SPRProjectId" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="getTaskEffortResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="getTaskEffortResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </wsdl:types>
    - <wsdl:message name="getTaskEffortSoapIn">
      <wsdl:part name="parameters" element="tns:getTaskEffort" />
      </wsdl:message>
    - <wsdl:message name="getTaskEffortSoapOut">
      <wsdl:part name="parameters" element="tns:getTaskEffortResponse" />
      </wsdl:message>
    - <wsdl:portType name="OntimeWSSoap">
    - <wsdl:operation name="getTaskEffort">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">This method.</documentation>
      <wsdl:input message="tns:getTaskEffortSoapIn" />
      <wsdl:output message="tns:getTaskEffortSoapOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="OntimeWSSoap" type="tns:OntimeWSSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <wsdl:operation name="getTaskEffort">
      <soap:operation soapAction="http://tempuri.org/getTaskEffort" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="OntimeWS">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
    - <wsdl:port name="OntimeWSSoap" binding="tns:OntimeWSSoap">
      <soap:address location="http://hts-pcs-0808/OntimeData/Ontime.asmx" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    I tried to consume webservice http://student.ohecampus.com/projects/group95/stud17/assignment7/validateEmail.asmx, which will return the data in boolean format. In this case, i am able to create a proxy and it is working fine. Can anyone help me out.
    Thanks in advance.
    Regards,
    Karthick

    Dear Raja,
    I checked with webservice owner who created the webservice. They are telling that there is no problem in XML file which they gave. The webservice they provided is consumed in many application and it is working fine. When in SAP, i tried to create a proxy it is showing the in information which i mentioned in earlier posted forum message.
    Kindly advice.
    Regards,
    Karthick

  • Consuming the webservices in ABAP?

    Hi Guys,
    I have consumed a wsdl on the ECC 6.0 system, generate a proxy object and when i am trying to send the data i am gettitng the error as below.
    I have also filled the soap action while creating the logical port through SOAMANAGER.
    Error Error CL_SOAP_RUNTIME_CLIENT EXEC_PROCESSING
    SOAP Runtime SOAP Fault Exception caught: : System.Web.Services.Protocols.SoapException:
    Server did not recognize the value of HTTP Header SOAPAction: http://YYY/XZZSoap30/SoapOp.
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
    any help or suggestions would be appreciated
    Thanks,
    Raj

    Raj,
    The below Link Might help
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/473978127144d2a77c94dd544e2e61/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d86cf1a4-0701-0010-409d-c568b1d2519e
    Call a ABAP Web Service externally
    Cheers
    Agasthuri Doss

  • Can CE(VC) consumer the Webservice published by PI sender agreement ?

    Is that any example ?
    The Visual Composer need to look up the service via the provider URL.
    can it support ?

    Hi,
    yes VC CAN consume web services.
    VC 7.0 cannot consume complex web services ( nested tables) but VC 7.1 is able to.
    In VC 7.0 you can create a web service system in VC in thé menu -> tools options
    with VC 7.1 you havé to create a system with nwa First. 
    Regards, Gilles.

  • Consuming a webservice in ABAP ECC 6.0 without using XI/ PI

    Hi Experts,
    I wanted to consume an external webservice without using XI / PI.After doing my homework and search on sdn I came to know that we can consume webservices in ABAP using proxies using SE80(Enterprise Services).
    I am trying to create a client proxy with the URL of webservice.It asks me the option to choose between URL or HTTP.
    I am selecting URL and in the second screen it asks about the package details and after that it finishes.Later I get an error message stating "NO VENDOR SPECIFIED".Its not allowing me to create a proxy.
    So, here are my questions.
    Does anyone faced the same kind of problem?
    Can we really consume a webservice without using XI / PI or any other middleware?
    Is it possible to consume the webservice only with URL or WSDL file ?
    Please let me know the exact process.
    Thanks in Advance.
    Shanker Pandey.

    Hi Martin,
      Please check these following links. Though you have reported already, these may help
    Proxy Object generation error using Wizard for Web Service Consumption
    Also, please have a look @ /people/thomas.jung/blog/2006/03/13/develop-a-web-service-that-sends-an-email--in-abap-netweaver-04s
    Hope this helps,
    Karthik

  • While Consuming a WebService in JSP Dyn Page - There is an Error

    Hi Friends,
    I have a web service created in ASP.NET web Service.
    And I have Consumed the Web Service using WSDL URL.
    I need to write a code to refer that class in the JSP DynPage
    I have created like this in DoIntialization
    MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
    int a = 10;
    int b = 20;
    obj.Add1(a,b);
    but it shows an error
    "The method Add1 Method(Add1 Method) is the type. MySErviceName is not Applicable for the arguements(int,int)"
    Please Help me in this regard.
    Thanks in Advance
    Thanks & Regards,
    Palani

    Hi Andy,
    I will let u know the sequence which i followed to consume the Webservice.
    NWDS --> File --> New --> Project --> Portal Application --> Create New Portal App Project.
    The Project is created.....
    After that i want to consume the Webservice for the same project...
    for that...
    NWDS --> File --> New --> Other --> Portal Application --> Create New Portal Application Object --> Selecting My Project?(intended prjct) --> Portal Webservice --> Portal Service from WSDL file - Client Side --> My WSDL URL --> Selecting the methods which i need to expose from the Webservice --> I gave unique name for my 1) Service 2) Alias 3) Package....and that was done....(other way is to add from portalapp.xml ??)
    After that i created a new JSPDyn page for my application in DoInitialization() method i tried to access the method from that webservice using the following code...
    MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
    I am successfully able to access the method from the webservice using the object which i have created but i am not able to pass arguments to that method...???
    I tried consuming same webservice created in .NET in .NET itself and i am able to pass arguments successfully.
    I tried to consume webservice created in ABAP in .NET and able to implement successfully...
    but the same ABAP webservice when  i tried to consume its not working with this NWDS.
    Is there any thing else i need to follow while consuming a webservice in the EP Perspectice of NWDS ???
    Deployable Proxy is required for that ?? if required how to create and use that ??
    Thanks in Advance,
    Palani

  • Consume a WebService that exists in SAP ECC 6.0

    Hello evrybody,
    I have a requirement that I've never done before, I have a webservice in transaction WSADMIN in a SAP ECC 6.0, and I need to consume it from PI but I don't know how, I've worked before with BAPI's and ABAP Proxies but never with WebServcies like this, do you know any documentation or maybe a blog on how to do this?, thanks in advance.
    Regards,
    Karla

    Thanks for your answers, I've used ABAP Proxies before, but in the way of generating an ABAP Proxy of a Inbound or Outbound interface from the IR, now I need to consume a WebService already created in SAP ECC 6.0, and I've never donde this before, I'm trying to understand that using SOAP Adapter I should get the WSDL File of the webservice and upload as an External Definition in the IR, but where could I get the URL to consume the webservice that exists in SAP ECC 6.0, thanks.

  • Consuming a webservice from a message bean?

    i set up a webservice proxy in another application project.
    i want another project's Message Bean to consume the webservice proxy
    that is in the other project?
    TIA

    just moved the web service proxy to the same application..

  • Consume Axis2 webservice in a JSP using Tomcat

    Hey,
    I desperately try to consume a Netbeans created Axis2 web service in a jsp.
    i am able to consume the web service in a Java test class as well as in j2me using the created stubs from WTK.
    But now I would like to consume the webservice in a jsp.
    First i tried to use the netbeans client generator (which does work out in a regular test class), As soon as i try to invoke the webservice in the jsp, i get an exception (i currently don't have access to the exact message, i will append that asap) . It stated, my part tag needed a type value (currently there's an element attribute included as i am using document style). I tried the same using a hello world class generated by netbeans using netbeans stubs...same error.
    Then I switched to java2wsdl, when using those stubs, i got another exception "axis2 webservice could not be generated".
    Then i tried using a soap call with the axis service class for preventing auto generated stubs. all of the 3 ways did work out in a java test class.
    But now i get the following exception:
    org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
    org.apache.jsp.test_jsp._jspService(test_jsp.java:102)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803).
    The thing is: i did include the common-logging.jar in the project lib and it seems to work out smoothly when compiling. but at runtime i always get the same exception.
    i also put the library in the tomcat lib folder (after that in the lib/common folder) - same result. i tried downloading a new jar. still no changes (all of those folder arse included in my classpath).
    then i included the logging jar in my java/lib/ext folder.
    After that a new jar was missing (mail.jar). but my axis2 engine doesn't run anymore (apparently some conflict with other libraries).
    Now i dunno what to do anymore. even the simpelst hrllo world web service doesn't work in jsp.
    If i tried to invoke non axis2 webservices in a jsp - it does work out. but that's not an option for me

    There is a folder for shared packages
    tomcat_root\lib; or
    tomcat_root\common
    also most versions have a lib or common folder for each webapp for packages that are not to be shared.
    tomcat_root\webapps\appname\web-inf\lib
    Agreed that it is strange to allow servlets to import from the classes foler but not JSPs. It should make no difference but it is convension to place single classes in the same folder as the app's directory and packages (especially jar's) in the lib directory.

  • Compress the webservice responce

    hi,
    i have some webservices which is returning some hundred of MBs as their responce. while consuming the webservice it is taking long time to get the responce from the service. or it is giving me the request timed out error.
    can i compress the responce?
    can u please help me to resolve this problem??
    thanks in advance
    Regards,
    NagaLaxmi

    Hi,
    a possible solution is to convert your return type into a byte stream and then compress this stream with the ZIP API. Your webservice should return this compressed data as byte[]. At client-side you then have to uncompress the byte[] and reconvert to the appropriate data type.
    Regards
    Sebastian

  • Need to consume Beehive webservices but can't figure out the best way

    Hi
    I'm completely new to the Beehive scene and I've been commissioned to write a sample application that consumes Beehive Webservices, just add a File to a certain workspace and be able to authenticate users via SSO and basic Authentication to a local DB. Initially I was told that Beehive had only support for REST webservices, so I thought it might be just easier to just go with REST, do a simple POST/GET request and get results, however I'm having a hard time running the sample code as a class is missing.
    However I just found that Beehive also has support for SOAP webservices (I somehow like them more as I'm more used to them) but same problem, I don't know how would I authenticate, I found were the WDSL are stored and everything but I just don't understand how would I make a user authenticate with SSO or any other method
    Finalyl there's this BPEL workflow for jDeveloper and JCR API.
    I just don't know where or how to start, tutorials are oracle.com assume too many things, I was thinking in creating proxy classes using the Beehive WSDL's and consume the services this way, however I still don't understand how to authenticate.
    Can anyone give me directions on this? How to use Beehive's SSO and Basic Authentication? thanks in advance

    Hi,
    Regarding the basic http authentication, an answer was provided in your other post:
    Authentication with SOAP API
    And regarding the missing class in the Rest sample code. I'm currently taking a look at it and, hopefully, I will get you an update on this in the following post:
    Failure Class not bundled with BDK Samples
    Regards,
    Ward

  • Help with Consuming a Webservice with the compact framework

    Hi all,
    i want to consume a SAP WebService within .NET in a smart device application. When I create the proxy, I get the following procedure in the .cs class:
    <i>[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.sap.com/_-ICO_-CM_XML_CREATE", RequestElementName="_-ICO_-CM_XML_CREATE", RequestNamespace="urn:sap-com:document:sap:rfc:functions", ResponseElementName="_-ICO_-CM_XML_CREATE.Response", ResponseNamespace="urn:sap-com:document:sap:rfc:functions", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)][return: System.Xml.Serialization.XmlElementAttribute("SUBRC", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]public string ICOCM_XML_CREATE([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string ORDERNR, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string ROUTE, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string TESTRUN, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string TOURNO, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string XML_FILE_LOCAL, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string XML_FILE_SERVER, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] out string XML_STRING) {object[] results = this.Invoke("_ICO_CM_XML_CREATE", new object[] {ORDERNR,ROUTE,TESTRUN,TOURNO,XML_FILE_LOCAL,XML_FILE_SERVER});XML_STRING = ((string)(results[1]));return ((string)(results[0]));}</i>
    When I compile the project I get the follwing error for each occurance of the "Form" Attribute :
    "<b>'System.Xml.Serialization.XmlElementAttribute' does not contain a definition for 'Form'" </b>
    When I try to consume this webservice with a "normal" kind of application, such as a windows-application, everything is ok.
    But when trying to use it with the compact framework, the error occurs.
    Is anyone outhere who can help me?
    Thank you
    Regardings

    It seems that the "Form" property of the XmlElementAttribute was missing in Compact Framework 1.1. It does exist in Compact Framework 2.0.
    You can try removing the "Form=System.Xml.Schema.XmlSchemaForm.Unqualified" entries from the proxy, but I'm not sure of it will still correctly work: For in-parameter it should be Ok to skip "Form=", but for out-paramters and result it could have the effect that no data is received.
    In this case the best option may be to upgrade to Compact Framework 2.0.

  • Unable to consume a webservice running on the local host (127.0.0.1)

    Hi,
    i've been trying to consume a webservice which I am hosting locally on my machine. I'm using Tomcat as the application server along with Apache axis as the web service container.
    I am unable to add my webservice as a data source using the "Define Web service system..." tool. Each time I try to add the webservice, I get the error that the web service URL is invalid. The URL I am using is http://localhost:8080/axis/EchoHeaders.jws?wsdl.
    At first, I thought this may have something to do with my proxy settings, but I've configured the proxies correctly and am able to access external webservices. Also, it does seem to send a request to the web service servlet, i.e. it is able to find the URL - I know this because i've got a listener setup locally inside the tomcat servlet which receives the URL GET request.
    Has anyone come across any problems while trying to consume webservices offered using apache tomcat and axis or could this be because I am running the web service on the same host as visual composer and using localhost in the URL? I've tried replacing localhost with my machine name, with 127.0.0.1 and with my IP address, but it doesn't seem to help.
    I would really appreciate some help.
    Thanks and Regards,
    Amrish

    Hi Mario,
    what do you mean by authorizations? The web service itself does not require any username or password. Also, I am able to consume the web service using a simple flex application (not integrated inside Visual Composer) without the need for supplying a username or password.
    Cheers,
    Amrish

Maybe you are looking for

  • My iPod says I have music "already on this device" even though I deleted it all, and now I can't sync anything onto it from my computer

    So my 5th generation iPod is almost maxed out with storage, and so to save space, I deleted all the music I had downloaded in the Music app and I use Spotify to listen to all my music now. Not all music is on Spotify though, so there is one song that

  • PC not recognising iPad as a camera

    When I connect my iPhone 4 to my PC it recognises it under Devices as a camera,yet when I connect my original iPad to my PC it does not recognise the iPad. Is there a way of making the PC recognise the iPad it as a camera under devices?

  • AD FS 2.0 proxy sign-in page is blank

    We have a single internal AD FS 2.0 server and a single AD FS 2.0 proxy server.  I am not sure when it happened, but the AD FS 2.0 proxy server sign-on page is blank.  The page I'm referring to is https://<fqdn>/adfs/ls/ldpInitiatedSignOn.aspx. I tri

  • Managers Desktop

    Dear Experts.                         kindly guide me how to configure managers desktop.when i execute ppmdt in the right column it is showing only my user and no other user.and when i run reports in left column it is giving me the follwing error."Be

  • Help in pagination w/ save feature

    hi, can somebody help me with my jsf code. basically this code displays inputText in tabular view and is paginated. The problem is when i press the save button. <h:form>                 <h:dataTable value="#{catsh.all}" var="cat" id="pager" rows="3">