Hi Thivya, As Irham have suggested better to enable wire logs and check. Furthermore, seems like it is checking for a time stamp in the header tag.
Thanks & Regards, Mushthaq On Wed, Nov 15, 2017 at 5:21 AM, Irham Iqbal <[email protected]> wrote: > 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.samp >> le.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:94 >> 43/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 > > -- Mushthaq Rumy *Software Engineer* Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194> Email : [email protected] WSO2, Inc.; http://wso2.com/ lean . enterprise . middleware. <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
