We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.

Hi Team , Why the current WebService Smart Service in Appian does no

Hi Team ,

Why the current WebService Smart Service in Appian does not supports JAX-WS services. Currently it only supports JAX-RPC (rpc/literal and document/literal) ....

OriginalPostID-89174

OriginalPostID-89174

  Discussion posts and replies are publicly visible

Parents
  • Hi Eduardo ,
    I tried using Send HTTP Request Plug-in to invoke my JAX-WS WSDL.
    But when sending following SOAP request

    <soapenv:Envelope xmlns:soapenv="schemas.xmlsoap.org/.../" xmlns:tes="TWEBSER/TestWebservice.tws">
    <soapenv:Header/>
    <soapenv:Body>
    <tes:TestProcess>
    <tes:processData>
    <tes:number1>1</tes:number1>
    <tes:number2>2</tes:number2>
    </tes:processData>
    </tes:TestProcess>
    </soapenv:Body>
    </soapenv:Envelope>
    from the paramter "Body" of Send HTTP Request I am getting this error - "javax.xml.stream.XMLStreamException: Element type "soapenv:Envelope" must be followed by either attribute specifications, "&gt;" or "/&gt;""

    But when i changed the SOAP request to
    <soapenv:Envelope/&gt;xmlns:soapenv='schemas.xmlsoap.org/.../TestWebservice.tws'>
    <soapenv:Body>
    <tes:TestProcess>
    <tes:processData>
    <tes:number1>1</tes:number1>
    <tes:number2>2</tes:number2>
    </tes:processData>
    </tes:TestProcess>
    </soapenv:Body>
    It still gives me the same error - "javax.xml.stream.XMLStreamException: Element type "soapenv:Envelope" must be followed by either attribute specifications, "&gt;" or "/&gt;""
    Kindly suggest how can i invoke this smart service using SOAP message / any other way using its inputs ??

    Thanks ,
    Jasleen Kaur
Reply
  • Hi Eduardo ,
    I tried using Send HTTP Request Plug-in to invoke my JAX-WS WSDL.
    But when sending following SOAP request

    <soapenv:Envelope xmlns:soapenv="schemas.xmlsoap.org/.../" xmlns:tes="TWEBSER/TestWebservice.tws">
    <soapenv:Header/>
    <soapenv:Body>
    <tes:TestProcess>
    <tes:processData>
    <tes:number1>1</tes:number1>
    <tes:number2>2</tes:number2>
    </tes:processData>
    </tes:TestProcess>
    </soapenv:Body>
    </soapenv:Envelope>
    from the paramter "Body" of Send HTTP Request I am getting this error - "javax.xml.stream.XMLStreamException: Element type "soapenv:Envelope" must be followed by either attribute specifications, "&gt;" or "/&gt;""

    But when i changed the SOAP request to
    <soapenv:Envelope/&gt;xmlns:soapenv='schemas.xmlsoap.org/.../TestWebservice.tws'>
    <soapenv:Body>
    <tes:TestProcess>
    <tes:processData>
    <tes:number1>1</tes:number1>
    <tes:number2>2</tes:number2>
    </tes:processData>
    </tes:TestProcess>
    </soapenv:Body>
    It still gives me the same error - "javax.xml.stream.XMLStreamException: Element type "soapenv:Envelope" must be followed by either attribute specifications, "&gt;" or "/&gt;""
    Kindly suggest how can i invoke this smart service using SOAP message / any other way using its inputs ??

    Thanks ,
    Jasleen Kaur
Children
No Data