How to configure Advance Call Web Service

Certified Senior Developer

Hi All,

we have the following wsdl

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.8 svn-revision#13980. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.8 svn-revision#13980. --><definitions xmlns:wsu="">docs.oasis-open.org/.../oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="">www.w3.org/.../ws-policy" xmlns:wsp1_2="">schemas.xmlsoap.org/.../policy" xmlns:wsam="">www.w3.org/.../metadata" xmlns:soap="">schemas.xmlsoap.org/.../" xmlns:tns="">soapservice.pecsender.jod.org/" xmlns:xsd="">www.w3.org/.../XMLSchema" xmlns="">schemas.xmlsoap.org/.../" targetNamespace="">soapservice.pecsender.jod.org/" name="SendPecWSImplService">
<types>
<xsd:schema>
<xsd:import namespace="
">soapservice.pecsender.jod.org/" schemaLocation="pecSender.xsd"/>
</xsd:schema>
</types>
<message name="sendPecWs">
<part name="email" type="tns:Email"/>
</message>
<message name="sendPecWsResponse">
<part name="return" type="tns:Esito"/>
</message>
<portType name="ISendPecWS">
<operation name="sendPecWs">
<input wsam:Action="
">soapservice.pecsender.jod.org/.../sendPecWsRequest" message="tns:sendPecWs"/>
<output wsam:Action="">soapservice.pecsender.jod.org/.../sendPecWsResponse" message="tns:sendPecWsResponse"/>
</operation>
</portType>
<binding name="SendPecWSImplPortBinding" type="tns:ISendPecWS">
<soap:binding transport="">schemas.xmlsoap.org/.../http" style="rpc"/>
<operation name="sendPecWs">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal" namespace="">soapservice.pecsender.jod.org/.../>
</input>
<output>
<soap:body use="literal" namespace="">soapservice.pecsender.jod.org/.../>
</output>
</operation>
</binding>
<service name="SendPecWSImplService">
<port name="SendPecWSImplPort" binding="tns:SendPecWSImplPortBinding">
<soap:address location="">localhost:8082/.../>
</port>
</service>
</definitions>

Using SoapUI it works:

<soapenv:Envelope xmlns:soapenv='schemas.xmlsoap.org/.../' xmlns:soap='soapservice.pecsender.jod.org/'>
<soapenv:Header/>
<soapenv:Body>
<soap:sendPecWs>
<email>
<!--Optional:-->
<attach>
<!--Zero or more repetitions:-->
<Allegati>
<!--Optional:-->
<contenuto>cid:92574522628</contenuto>
<!--Optional:-->
<nomefile>?</nomefile>
</Allegati>
</attach>
<!--Optional:-->
<ccs>
<!--Zero or more repetitions:-->
<Indirizzi>'cuvamarco@gmail.com</Indirizzi>
<Indirizzi>'roberti.tommaso@gmail.com</Indirizzi>

</ccs>
<!--Optional:-->
<messageid>1</messageid>
<password>2</password>
<!--Optional:-->
<receipttype>ciao</receipttype>
<sender>pluto</sender>
<subject>prova</subject>
<text>prova mail pec</text>
<tos>
<!--Zero or more repetitions:-->
<Indirizzi>juri.monti@5020.it</Indirizzi>
</tos>
</email>
</soap:sendPecWs>
</soapenv:Body>
</soapenv:Envelope>

using advanced call web service doesen't work

any suggestion? being in Cloud we cannot extend the logger

Regards

  Discussion posts and replies are publicly visible

Parents
  • What are the errors you are getting while using advanced call web service. Root causes can be multitude.Here are few:

    If web-service is for a onprem system there might be connectivity issues from Cloud.You need to do VPN tunneling.

    Do you supply any credentials via your soap service call?

    What type of authentication does this webservice will do?

    Cheers

    RajHasti

  • 0
    Certified Senior Developer
    in reply to RajHasti

    Hi I suppose that the webservice can be called from cloud because the standard call web service works. The problem is how to construct the xml body. I have tried to call the standard web service, save the result of the node input in a pv, use the toxml function on This pv and pass the result as body of the advanced wsdl call webservice, setting the other required parameter but the result is also an error

Reply
  • 0
    Certified Senior Developer
    in reply to RajHasti

    Hi I suppose that the webservice can be called from cloud because the standard call web service works. The problem is how to construct the xml body. I have tried to call the standard web service, save the result of the node input in a pv, use the toxml function on This pv and pass the result as body of the advanced wsdl call webservice, setting the other required parameter but the result is also an error

Children
No Data