Hi Thuvya,

You can enable the wire log and check the response headers and status code
to narrow down this. follow the blog[1] to know about wire logs.

[1] http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html

Thanks,
Iqbal

On Tue, Nov 14, 2017 at 8:10 PM, Thivya Mahenthirarasa <[email protected]>
wrote:

> Hi Dev,
>
> When I invoke POST method to create resource in a legacy(SOAP) backend.
> (Backe end is secured)in my API of a WUM updated ESB500 pack from a rest
> client, I'm observing exception as follows from the Backend soap service.
> The Other Methods (DELETE/GET) are working fine.
>
>
> <faultcode>wsse:InvalidSecurity</faultcode>
>  <faultstring>Missing Timestamp</faultstring>
>
>
> The resource of the API
>
> <resource methods="POST" uri-template="/postCMedi">
>       <inSequence>
>          <property name="messageType" value="text/xml" scope="axis2"
> type="STRING"/>
>          <property name="ContentType" value="text/xml" scope="axis2"
> type="STRING"/>
>          <header name="SOAPAction" scope="transport"
> value="urn:postCMedi"/>
>          <payloadFactory media-type="xml">
>             <format>
>                <soapenv:Envelope xmlns:soapenv="http://schemas.
> xmlsoap.org/soap/envelope/">
>                   <soapenv:header>
>                      <some value></some value>
>                   </soapenv:header>
>                   <soapenv:Body>
>                      <ser:postCMedi xmlns:ser="http://service.
> sample.central.com">
>                         <ser:patient>
>                            <xsd:insurer xmlns:xsd="http://dto.service.
> sample.central.com/xsd">
>                               <xsd:insurerEmail>?</xsd:insurerEmail>
>                               <xsd:insurerName>?</xsd:insurerName>
>                               <xsd:insurerPhone>?</xsd:insurerPhone>
>                            </xsd:insurer>
>                            <xsd:medical xmlns:xsd="http://dto.service.
> sample.central.com/xsd">
>                               <xsd:condition>?</xsd:condition>
>                               <xsd:treatment>?</xsd:treatment>
>                            </xsd:medical>
>                            <xsd:parentGuardian xmlns:xsd="
> http://dto.service.sample.central.com/xsd";>
>                               <xsd:guardianEmail>?</xsd:guardianEmail>
>                               <xsd:guardianName>?</xsd:guardianName>
>                               <xsd:guardianPhone>?</xsd:guardianPhone>
>                            </xsd:parentGuardian>
>                            <xsd:patientContact xmlns:xsd="
> http://dto.service.sample.central.com/xsd";>
>                               <xsd:address>?</xsd:address>
>                               <xsd:email>?</xsd:email>
>                               <xsd:phone>?</xsd:phone>
>                            </xsd:patientContact>
>                            <xsd:patientFullName xmlns:xsd="
> http://dto.service.sample.central.com/xsd";>?</xsd:patientFullName>
>                            <xsd:patientId xmlns:xsd="http://dto.service.
> sample.central.com/xsd">105665</xsd:patientId>
>                            <xsd:physician xmlns:xsd="http://dto.service.
> sample.central.com/xsd">
>                               <xsd:physicianEmail>?</xsd:physicianEmail>
>                               <xsd:physicianName>?</xsd:physicianName>
>                               <xsd:physicianPhone>?</xsd:physicianPhone>
>                            </xsd:physician>
>                         </ser:patient>
>                      </ser:postCMedi>
>                   </soapenv:Body>
>                </soapenv:Envelope>
>             </format>
>             <args/>
>          </payloadFactory>
>          <property name="Authorization" value="Basic
> dGhpdnlhOnRoaXZ5YTEyMw==" scope="transport"/>
>          <log level="full"/>
>          <send>
>             <endpoint>
>                <address uri="https://192.168.55.160:9443/services/
> CentralPatientService" format="soap11"/>
>             </endpoint>
>          </send>
>       </inSequence>
>       <outSequence>
>          <log level="full"/>
>          <property name="messageType" value="application/json"
> scope="axis2" type="STRING"/>
>          <send/>
>       </outSequence>
>    </resource>
>
> WSDL location
>
> h*ttp://192.168.55.160:9763/services/CentralPatientService?wsdl*
> <http://192.168.55.160:9763/services/CentralPatientService?wsdl>
>
> Could you please help to resolve this?
>
>
>
> --
>
> *Thivya Mahenthirarasa*
>
> *Software Engineer -Support Team | WSO2*
>
>
> *Email: [email protected] <[email protected]>*
>
> *Mobile: +94766461966 <+94%2076%20646%201966> <http://wso2.com/signature>*
> *Web: http://wso2.com <http://wso2.com>*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Irham Iqbal
Software Engineer
WSO2
phone: +94 777888452
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to