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

Similar Messages

  • Using Encrypted Web Service connections within Xcelsius 2008 SP1 - FP3

    Hi all,
    I'm running the latest version of Xcelsius Server 2008 and have setup a simplistic dashboard that uses 4 web service connections to dynamically call queries within a SQL Server 2008 database. The dashboard has been exported to html and I can serve this to the WWW.
    I have since created a new https website (using a self signed certificate) and can now serve my Xcelsius dashboard via https. My problem is that I have had to run my old website in parallel (as it serves the said non-encrypted web service) which is linked within the swf source (that is running on the new https enabled website).
    Upon trying to alter my existing xlf file so that it references the encrypted web service URL (which works fine via the browser) it prompts me to accept the self signed certificate. Once I click yes, and then add the certificate to the certificate store the whole thing locks up and I am forced to close Xcelsius.
    Am I right in thinking that Xcelsius will not accept self signed certificates or encrypted web services at all? For me this is big security concern because if I want to share my dashboard via the WWW I have to accept the fact that I need to run an unsecure web service.
    Is this something that is only supported in Xcelsius Enterprise?
    TIA

    Hello Paul,
    Sorry not to have replied to this sooner.
    We have had experience of hosting Xcelsius Dashboards using Https: for one of our clients here at Flynet.
    We noticed a number of issues , we did have problems relating to the Firewall on our Gateway server for example. We also had issues with the number of active connections processed when the dashboard is running. I think the default for Https: is 2 , so the connections can be queued up. Have you retried with one connection open. The Dashboard we did however did have up to 12 connections, so Xcelsius can handle multiple connections.
    When developing the Dashboards using Xcelsius I did have to import using the Web Service URL of the remote server which was Https: However due to issues sometimes with our Gateway Firewall and the way our Local Network had to access the https: URL , what I tended to do was develop using a localhost Web service and then switch the URL to use the https: Web Service once the dashboard was exported to the server it was to be hosted on.
    What we did notice for example is that we could have a dashboard running locally quite happily using the https: web services which are actually on [http://www.flynetviewer.com]   then we would start getting #2 type flash errors. To solve this we had to restart our Windows Firewall on our gateway server. We could run the dashboard fine if run from our web site.
    I am not sure if the issues you have are related to this. I have had problems when I had to import the https: web service URL on my local machine  , I am prompted for the Username password for the Https: location , but when trying to import Xcelsius has a problem and exits. Due to these problems I tended to use a local Web service when developing. I know this isn't always practical.
    I was running on Vista 64 bit , but I also have XP and Server 2003 running on Virtual machines.  
    I will be happy to share information my experiences with you.
    Best Regards,
    Ian Learmonth
    Flynet
    Updated to add: I have just successfully imported an https: Web service. Mapped it to the dashboard , run it and invoked sucessfully. This was on Windows XP professional SP2. 
    I did the same thing on Windows Vista 64 bit and had an issue. So not sure what operating system you are using or whether it's a Certificate thing. I can try and find out a bit more on our Certificate if you need to find out what the issue is.
    The Vista issue seems to have been resolved by running Xcelsius as Administrator.
    When successfully importing I was prompted for the Username and Password for the URL but not the Certificate.
    Edited by: Ian Learmonth on Apr 23, 2009 12:18 PM
    Edited by: Ian Learmonth on Apr 23, 2009 12:30 PM

  • 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 consuming a (simple) SAP web service

    Hello,
    I am trying to write a simple web service client for this web service:
    WSDL: http://xi.esworkplace.sap.com:50200/ClassificationService/CS?wsdl
    Endpoint: http://xi.esworkplace.sap.com:50200/ClassificationService/CS?style=document
    When calling the operation getAllClassificationSystems(1, 1, 1, 1) I get the following error:
    An error occurred invoking the specified method.
    ; nested exception is:
         org.xml.sax.SAXException: Invalid element in api_v1.classification.sap.com.ClassificationSystemList - actualCount
    I tested the web service with JCows Generic Web Service Client (http://www.jcows.org/?page=4⟨=de). I also get a similar error when using the Web Service Client Wizard of WebSphere Integration Developer.
    As I can see with TCPmonitor, from the endpoint I receive a meaningful SOAP response like this one:
    SOAP response:
    <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity- secext-1.0.xsd">
    <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-u tility-1.0.xsd">
    <wsu:Created>2007-05-16T13:10:10Z</wsu:Created>
    <wsu:Expires>2007-05-16T13:10:40Z</wsu:Expires>
    </wsu:Timestamp>
    </wsse:Security>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <ns1:ClassificationSystemList version="10736" xmlns:rn0="http://schemas.xmlsoap.org/soap/encoding/" xmlns:rn1="java:sap/standard" xmlns:rn2="urn:uddi-org:vscache_v3" xmlns:rn3="urn:java/lang" xmlns:rn5="urn:uddi-org:api_v3" xmlns:rn4="urn:com.sap.classification.transport" xmlns:ns1="urn:com.sap.classification:api_v1">
    <ns1:listDesc>
    <ns1:actualCount>9</ns1:actualCount>
    <ns1:includedCount>1</ns1:includedCount>
    <ns1:listHead>1</ns1:listHead>
    </ns1:listDesc>
    <ns1:ClassificationSystem valuesVersion="12">
    <ns1:id>uddi:uddi.sap.com:categorization:business-object</ns1:id>
    <ns1:name>Business object</ns1:name>
    <ns1:description>The SAP business object UDDI category system and SR classification system. Business objects are part of the Enterprise Service Architecture meta-model.</ns1:description>
    <ns1:type>FLAT</ns1:type>
    <ns1:isPredifined>true</ns1:isPredifined>
    <ns1:readOnly>false</ns1:readOnly>
    <ns1:onlyOnce>false</ns1:onlyOnce>
    <ns1:mustHaveDesc>false</ns1:mustHaveDesc>
    <ns1:normalizeCodes>false</ns1:normalizeCodes>
    <ns1:mTimeCustModService>true</ns1:mTimeCustModService>
    <ns1:mTimeSapModService>true</ns1:mTimeSapModService>
    <ns1:ideCusModService>true</ns1:ideCusModService>
    <ns1:ideCustPrgService>true</ns1:ideCustPrgService>
    <ns1:ideSapModService>true</ns1:ideSapModService>
    <ns1:ideSapPrgService>true</ns1:ideSapPrgService>
    </ns1:ClassificationSystem>
    </ns1:ClassificationSystemList>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    This is how the submitted SOAP request looks like:
    SOAP request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <getAllClassificationSystems xmlns="urn:com.sap.classification:api_v1">
    <listHead xsi:type="xsd:int">1</listHead>
    <maxRows xsi:type="xsd:int">1</maxRows>
    <version xsi:type="xsd:long">1</version>
    <sortType xsi:type="xsd:int">1</sortType>
    </getAllClassificationSystems>
    </soapenv:Body>
    </soapenv:Envelope>
    But the problem is meet when the client tries to deserialize the received SOAP response. The error message in WID looks like this:
    Error message:
    WebServicesFault
    faultCode: hxxp://schemas.xmlsoap.org/soap/envelope/ Server.generalException
    faultString: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element actualCount of bean classification.api_v1.sap.com.ClassificationSystemList_Type.
    Child element actualCount does not belong in namespace urn:com.sap.classification:api_v1.
    Most likely, a third-party web services platform has sent an incorrect SOAP message.
    faultActor: null
    faultDetail:
    org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element actualCount of bean classification.api_v1.sap.com.ClassificationSystemList_Type.
    Child element actualCount does not belong in namespace urn:com.sap.classification:api_v1.
    Most likely, a third-party web services platform has sent an incorrect SOAP message.
         at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java: 203)
         at com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart.java:1055)
         at com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:605)
         at com.ibm.ws.webservices.engine.Message.getSOAPEnvelope(Message.java:461)
         at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCSOAPHandler.checkSOAPSemant ics(JAXRPCSOAPHandler.java:298)
         at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCSOAPHandler.access$000(JAXR PCSOAPHandler.java:75)
         at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCSOAPHandler$2.invoke(JAXRPC SOAPHandler.java:173)
         at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.ja va:329)
         at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:2 83)
         at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:79 8)
         at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:693)
         at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:644)
         at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:472)
         at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:818)
         at ClassificationServiceWsd.CSBindingStub.getAllClassificationSystems(CSBindingStu b.java:127)
         at ClassificationServiceWsd.ClassificationServiceViProxy.getAllClassificationSyste ms(ClassificationServiceViProxy.java:64)
         at temp.CsReader3.main(CsReader3.java:42)
    Caused by: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element actualCount of bean classification.api_v1.sap.com.ClassificationSystemList_Type.
    Child element actualCount does not belong in namespace urn:com.sap.classification:api_v1.
    Most likely, a third-party web services platform has sent an incorrect SOAP message.
         at com.ibm.ws.webservices.engine.encoding.ser.BeanDeserializer.onStartChild(BeanDe serializer.java:359)
         at com.ibm.ws.webservices.engine.events.DEventProcessor.onSimpleChild(DEventProces sor.java:240)
         at com.ibm.ws.webservices.engine.encoding.ser.BeanDeserializer.onSimpleChild(BeanD eserializer.java:576)
         at com.ibm.ws.webservices.engine.events.P2DConverter.flush(P2DConverter.java:767)< br>     at com.ibm.ws.webservices.engine.events.P2DConverter.endElement(P2DConverter.java: 410)
         at sax.SAX2DocumentEntityParserBase.endElementAction(Unknown Source)
         at util.DocumentEntityParserBase.endElementEvent(Unknown Source)
         at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanEndElement(Unknown Source)
         at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
         at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
         at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
         at util.DocumentEntityParserBase.parse(Unknown Source)
         at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
         at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at com.ibm.ws.webservices.engine.utils.WebServicesParser.parse(WebServicesParser.j ava:274)
         at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(Deseria lizationContextImpl.java:268)
         at com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart.java:1029)
         ... 15 more
    Are the generated proxies for the web service client erronous, and thus a problem with Axis WSDL2Java tooling exists?
    Or is there a mismatch between WSDL and SOAP response concerning encoding style or namespaces, or other...
    Thanks for some hints!

    I should have included a possible work-around: modify
    the WSDL to match with the wire format if you don't
    have access to the remote service.
    <xs:element name="ClassificationSystemList">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="listDesc"
    type="tns:ListDescription"
    nillable="true"
    minOccurs="0"/>
    <xs:element name="ClassificationSystem"
    maxOccurs="unbounded"
    minOccurs="0"
    type="tns:ClassificationSystem"
    nillable="true"/>
    <xs:attribute name="version" type="xs:long"
    use="required"/>
    <xs:sequence>
    <xs:element name="Response"
    type="tns:ClassificationSystemList"
    nillable="true"/>
    >
    -->
    </xs:complexType>
    xs:element>
    ...Hope it helps,
    -Ericerajkovi,
    thanks for your suggestion. Since I have no access to the remote service I have modified the WSDL file, as you suggested.
    But now I am encountering another error when invoking the operation:
    WebServicesFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
    faultString: No operation found using soap keys [], [getAllClassificationSystems]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: {BindingType=Soap, InterfaceMappingID=sap.com/tc~classificationService_ClassificationService_CSPort}.
    faultActor: null
    faultDetail:
         com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException: No operation found using soap keys [], [getAllClassificationSystems]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: {BindingType=Soap, InterfaceMappingID=sap.com/tc~classificationService_ClassificationService_CSPort}.
    No operation found using soap keys [], [getAllClassificationSystems]. InterfaceMapping Object class: com.sap.engine.services.webservices.espbase.mappings.InterfaceMapping mappings: {BindingType=Soap, InterfaceMappingID=sap.com/tc~classificationService_ClassificationService_CSPort}.
         at com.ibm.ws.webservices.engine.WebServicesFault.makeUserFault(WebServicesFault.java:218)
         at com.ibm.ws.webservices.engine.xmlsoap.builders.WebServicesFaultProcessor.createFault(WebServicesFaultProcessor.java:411)
         at com.ibm.ws.webservices.engine.xmlsoap.SOAPFault.getFault(SOAPFault.java:486)
    ...I noticed that the generated SOAP request now has also changed. The getAllClassificationSystems element is now wrapped with an additional getAllClassificationSystems element. So the web service endpoint is not able to understand the message.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Header/>
       <soapenv:Body>
          <getAllClassificationSystems>
             <p970:getAllClassificationSystems xmlns:p970="urn:com.sap.classification:api_v1">
                <p970:listHead>1</p970:listHead>
                <p970:maxRows>10</p970:maxRows>
                <p970:version>1</p970:version>
                <p970:sortType>1</p970:sortType>
             </p970:getAllClassificationSystems>
          </getAllClassificationSystems>
       </soapenv:Body></soapenv:Envelope>The generated proxies by WSDL2Java are now different. Previously I invoked the operation in this way:
    proxy.getAllClassificationSystems(new Integer(1), new Integer(1), new Long(1), new Integer(1));Now I must invoke it so:
    GetAllClassificationSystems gas = new GetAllClassificationSystems();       
            gas.setListHead(new Integer(1));
            gas.setMaxRows(new Integer(10));
            gas.setSortType(new Integer(1));
            gas.setVersion(new Long(1));                
            proxy.getAllClassificationSystems(gas);Is there a possbility to configure Axis WSDL2Java in order to create the previous SOAP message or is another change to the WSDL required?

  • Problem in using the Web Service generated from BAPI_FLIGHT_GETLIST

    Hi all,
       I am trying to use the Web Service generated from BAPI_FLIGHT_GETLIST. I have got the wsdl file, and trying to invoke it. But, while I can test the BAPI using the Airline ID AA, I can't test from the Web Service using the same data. It shows the error message - "Airline AA not found". Anyone having solution, please help. This is urgent.
    Thanks,
    Anirban
    Message was edited by:
            Anirban Das

    Yes, I am connecting to the same system where we have data..
    Anirban

  • Return Data from Oracle using a web service in AXIS - please help

    Hi Forum,
    I am very new to web services and Java tech. and recently I have been assigned to work with technology and I am struggling to learn it and need your help and assistance.
    I am trying to return some data from a an oracle database but I have to do that using a web service and I am using AXIS. For example below is a simple program that returns two columns for the demo EMP table
    import java.sql.*;
    class emp {
    public static void main(String args[])
    throws ClassNotFoundException, SQLException {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    // or you can use:
    // DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","scott", "tiger");
    Statement stmt = conn.createStatement( );
    ResultSet rset = stmt.executeQuery("select * from emp");
    while(rset.next( )) {
    System.out.println(rset.getString(1));
    System.out.println(rset.getString(2));
    rset.close( );
    stmt.close( );
    conn.close( );
    } but I do not know how to convert this into a web service.
    Please help.
    Thanks in advance.
    Regards,
    Ravi

    The following code returns Document. I will be calling the below function to convert my Resultset to document. In my JWS file i simply call a method with parameters. can a web service method in .jws file return Document type. It shows error will doing so. Please help me.
    public static Document toDocument(ResultSet rs) throws ParserConfigurationException, SQLException
              Document res_doc = null;
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              DocumentBuilder builder = factory.newDocumentBuilder();
              Document doc = builder.newDocument();
              Element results = doc.createElement("Results");
              doc.appendChild(results);
              ResultSetMetaData rsmd = rs.getMetaData();
              int colCount = rsmd.getColumnCount();
              while (rs.next())
              Element row = doc.createElement("Row");
              results.appendChild(row);
              for (int i = 1; i <= colCount; i++)
              String columnName = rsmd.getColumnName(i);
              Object value = rs.getObject(i);
              Element node = doc.createElement(columnName);
              node.appendChild(doc.createTextNode(value.toString()));
              row.appendChild(node);
              return res_doc;
         }

  • Error communicating with the Cluster Manage Web Service

    Hi,
    i connected oracle database with the Endeca Studio but while uploading Departments dataset i m getting this error
    "Error communicating with the Cluster Manage Web Service" so plz can anyone explain me wat is this error about.
    thanks in advance

    I actually ran into this myself- as Pat notes, it's hard to say without seeing log files, but I think that perhaps the default domain profile that the Endeca Server uses for domains created using Provisioning services has not been created.  First see what domain profiles exist.  Navigate to wherever endeca-cmd lives (e.g., user_projects/domains/endeca_server_domain/EndecaServer/bin), and use the list-dd-profile command:
    -bash-3.2$ ./endeca-cmd.sh list-dd-profiles
    The profiles that exist will be returned in your terminal window:
    prov_dd_profile
    default
    If you only see 'default', then you will need to create 'prov_dd_profile'
    ./endeca-cmd.sh put-dd-profile prov_dd_profile
    Then try uploading your file again in Studio.
    Cheers,
    Andrew

  • Crystal Report using a Web Service as a data source?

    I am trying to figure out how to use a Web Service as a data source in Crystal Reports. When I use the report wizard, I do not see an option to select Web Service as a new connection. We are currently using Crystal Reports 2008 v12.1.0.892. Could it be that my version does not support this? Is there an update that contains this feature? Please help.

    Thanks for your response. Unfortunately I do not see a radio button for Web Services. I've read that it should be there too. Could it be a missing plug-in or patch?
    Here are screen shots of what I see when trying to connect to an XML. Any thoughts?
    [http://s26.photobucket.com/albums/c120/hpolit/?action=view&current=wizard1.jpg]
    [http://s26.photobucket.com/albums/c120/hpolit/?action=view&current=wizard2.jpg]

  • Using a Web Service as a data provider for a Crystal Report

    <p>I&#39;m trying to write a Crystal Reports XI report that uses a Web Service as the data provider.  I have a Web Service written in ColdFusion that looks like this.<br /><br /><cfcomponent displayName="FindEmployee" ><br />   <cffunction name="FindEmployeeSort" access="remote"          <br />               returnType="xml" output="false"><br />      <cfdump var=form><br />      <cfset myXML = ""><br />       <!--- FindEmployeeSort body ---><br />       <cfquery name="EmployeeQuery" datasource="Production"><br />           Select * from employee<br />          <cfif isdefined(&#39;form.lastname&#39;)><br />             WHERE lastname LIKE &#39;%#form.lastname#%&#39; <br />          </cfif><br />           Order by lastname asc <br />        </cfquery><br />     <cfreturn EmployeeQuery>  <br />   </cffunction><br /></cfcomponent><br /><br />I can get the web service to work from a ColdFusion page (either locally or on a remote server).</p><p>When I try to create the CR data source, I get the following error:</p><p>Crystal Reports<br />! Logon Failed.<br />Details: Cannot find correspondign table information in the XML file</p><p>The steps I took were:<br />* Choose XML from the "Avalable Data Sources"<br />* Choose "Use Web Service Data Source"<br />* Choose "Use HTTP(S) WSDL" with a url of <a href="http://host/directory/FindEmployee.cfc?wsdl">http://host/directory/FindEmployee.cfc?wsdl</a><br />* Leave the "HTTP(S) Web Service User ID:" and "HTTP(S) Web Service Password:" parameters blank<br />* Accept the defaults for Services, Ports, and Methods.  They are respectively FindEmployee, FindEmployee.cfc and FindEmployeeSort.<br />* Then get the error</p><p>The most likely candidate to me is the user id and password, but I have no idea what to use.  I didn&#39;t have to set any login information up in the ColdFusion pages that I used to test the Web Service.</p><p>Any ideas where to go from here?</p><p>Thanks,</p><p>Brian</p>

    Please re-post if this is still an issue to the Java Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • Error while trying to publish a web service in UDDI client

    hi
      i m getting this error when trying to publish my web service in UDDI client.I have
    configured my uddi client using Visual Administrator.I created a  local test registry.The name of my  registry is QuickCarRentalRegistry_Local.I created this at admin level.I also tried at level 1 Tier.But it was giving the same error.
    The error is "<b> Internet Explorer Script Error</b>".my ie version is 7.0
    In my alert window it displays error: 'ur_txt' is undefined.
    Regards
    mythri.

    Hi mythri.
    Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
    Thanks in advance.
    Renan

  • 401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow

    We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
    As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
    Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
    then Build{...} Dictionary (Output to Variable:requestHeaders)
    then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
    The RequestHeader is set to the requestHeaders variable though the web service call properties
    then Log Variable:responseCode to the workflow history list
    After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
    It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
    Thank You for any insight

    Hi,
    According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
    Please make sure you use the ‘Call HTTP Web Service’ correctly.
    You can enter the URL into the brower to check whether it is correctly.
    You need to
    create the Request header requestHeaders
    using a Dictionary:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    To associate the
    requestHeaders variable, select the Call action
    property, set the RequestHeaders property to
    requestHeaders.
    Please refer to the following articles:
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
    Calling the SharePoint 2013 Rest API from a SharePoint Designer
    Workflow
    In addtion, you need to make sure you install the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Known Issues in Workflow Manager 1.0
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Anyone Tried Using Sharepoint Web Services with BPEL?

    I've tried using SharePoint Web Services with BPEL, I'm able set it to use the sharepoint web service as a partner link in orchestration, but when I try to compile the bpel file, I get a "error: null" on the compiler log for the *.bpel file.
    Anyone have any success with using Sharepoint Web Services with BPEL?

    Hi,
    Please refer the below article and browse code.
    http://code.msdn.microsoft.com/Remote-Authentication-in-b7b6f43c
    Thanks,
    Srikanth

  • Unknown Error while communicating with O365 BEC Web Service

    Hi Guys,
    When I try to add a new mail user in O365 Exchange, one strange error is thrown.
    Are any guys  kind enough to help me ?
    Here is the script and the error.
    PS C:\Users\o365-user> $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList
    '[email protected]', $(ConvertTo-SecureString -String '*******' -AsPlainText -Force)
    PS C:\Users\o365-user> $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https:
    //ps.outlook.com/powershell/' -Credential $cred -Authentication Basic -AllowRedirection
    WARNING: Your connection has been redirected to the following URI:
    "https://pod51053psh.outlook.com/powershell-liveid?PSVersion=4.0 "
    PS C:\Users\o365-user> Import-PSSession $session
    WARNING: The names of some imported commands from the module 'tmp_zkc5sid4.gpq' include unapproved verbs that might
    make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
    Verbose parameter. For a list of approved verbs, type Get-Verb.
    ModuleType Version Name ExportedCommands
    Script 1.0 tmp_zkc5sid4.gpq {Add-AvailabilityAddressSpace, Add-DistributionGroupMember...
    PS C:\Users\o365-user> $users=Get-MailUser
    PS C:\Users\o365-user> New-MailUser -Name '[email protected]' -DisplayName 'Test LIU'
    -MicrosoftOnlineServicesID '[email protected]' -Password $(ConvertTo-SecureString -String '*****' -AsPlainText -Force)
    Unknown Error while communicating with O365 BEC Web Service (Exception type
    "Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException", message=
    "Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException: Couldn't create BEC Web Service:
    The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft
    Corporation, L=Redmond, S=WA, C=US couldn't be found.
    Parameter name: certificateSubject ---> System.ArgumentException: The matching certificate for certificateSubject
    CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be
    found.
    Parameter name: certificateSubject
    at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
    dName(String certificateSubject, Boolean checkForValid)
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)
    --- End of inner exception stack trace ---
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.InvokeWithRetry[TResponse](Action operation)
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.GetUserByUpn(GetUserByUpnRequest request)
    at Microsoft.Exchange.ProvisioningAgent.BecWebServiceLiveIdManager.GetMemberType(SmtpAddress memberName)", inner
    message "System.ArgumentException: The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com,
    OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be found.
    Parameter name: certificateSubject
    at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
    dName(String certificateSubject, Boolean checkForValid)
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)")
    + CategoryInfo : NotSpecified: (0:Int32) [New-MailUser], RecipientTaskException
    + FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=d97a193e-91a7-4430-ac64-6b7003f5b9b0,TimeStamp=4/23/2015
    9:37:58 AM] [FailureCategory=Cmdlet-RecipientTaskException] 3F9FDA25,Microsoft.Exchange.Management.RecipientTasks
    .NewMailUser
    + PSComputerName : pod51053psh.outlook.com
    PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'ApplicationImpersonation' -User 'test1_1@smokeazu
    rebeta5.onmicrosoft.com'
    Couldn't find a user with the identity "[email protected]".
    + CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=88777637-298d-4bb1-972f-b61161566a57,TimeStamp=4/23/2015
    9:37:59 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
    cTasks.NewManagementRoleAssignment
    + PSComputerName : pod51053psh.outlook.com
    PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'Mailbox Search' -User '[email protected]
    microsoft.com'
    Couldn't find a user with the identity "[email protected]".
    + CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=2b64d3a2-97da-4de5-be8c-00ad73452456,TimeStamp=4/23/2015
    9:38:00 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
    cTasks.NewManagementRoleAssignment
    + PSComputerName : pod51053psh.outlook.com
    PS C:\Users\o365-user> Remove-PSSession $session
    PS C:\Users\o365-user>
    Thanks
    Budlion LIU

    Hello,
    Or you can also ask on Exchange Online Forum:
    https://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicesexchange
    Thanks,
    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]
    Simon Wu
    TechNet Community Support

  • I can't use "Import Web Service".

    Hi, I can't use "Import Web Service" in LabVIEW Web UI builder.
    I write IP:8080 and click on Connect.
    And it says "No Web ervices found on the server".
    Please help.

    I think I'm one step from finished application.
    So ... I've tried this building web service from tutorial and when I'm on the step when I have to deploy a Web Service to the Web Server I have a problem.
    I rightclick on My Web Service under "build specifications" and click to deploy and I get this message in attachment.
    My question is how can I start the web server ?
    Thanks in advance and I hope that after solving this I won't bother any of you anymore.
    Attachments:
    problem.JPG ‏99 KB

  • JCAPS UDDI - Problem Using the Web Service Management Application

    Hi everyone, this is my problem:
    1.) I installed the JCAPS UDDI Server in a Solaris. <-- Ok
    2.) In the eManager I installed the Web Services Access Manager. <-- Ok
    3.) I started the UDDI server. <-- Ok
    4.) I check that the process is running (in Solaris). <-- Ok
    5.) I'm trying to load the Web Service Management Application Login Page, but it doesn't show the page so I can't login and in consequence I can't publish, remove, view, and search WSDLs by using the Web Service Management Application.
    I appreciate some help about this.
    Regards

    Yes, I am connecting to the same system where we have data..
    Anirban

Maybe you are looking for