Forum Post: AW: Longchar data for input & output parameters in calling web service. What's...

Status
Not open for further replies.
S

SJProgress

Guest
Hi, not sure, if this is related here, but we had problems to get Soap-Fault-Detail when answer from Service came with wrong http-code (200 instead of 500) Progress ABL will not treat a soap-fault correctly when it is delivered with http-code 200. This is according to standards, but many service providers use http-code 200 for soap-fault answers. Josef Von: Fuelfire [mailto:bounce-Fuelfire@community.progress.com] Gesendet: Freitag, 5. Juni 2015 10:28 An: TU.OE.General@community.progress.com Betreff: RE: [Technical Users - OE General] Longchar data for input & output parameters in calling web service. What's wrong? RE: Longchar data for input & output parameters in calling web service. What's wrong? Reply by Fuelfire Hi, Heri! First of all, I want to emphasize that I began to get the description of the service using -show100style. I decided to call the service manually through the program SOAPUI and saw that the request consists of one input parameter. I got a new description of the service using -shov100stul and started working with him. I asked colleagues from other departments to give me the service with other input parameters, so I got no exception, but the resulting data. And I was able to get a result from the service. I would like to understand why there is no detailed information in SOAP-FAULT-DETAIL? I see the tag "detail" in service response: soapenv:Header/ soapenv:Body soapenv:Fault faultcode xmlns:p548=" http://WSCommonTypes10.XX.XX.XXXXXXX.XX " p548: WSAppTechnicalException /faultcode faultstring XX.XXXXXXX.XX.XX.WSCommonTypes10.WSAppTechnicalException /faultstring detail encodingStyle="" p548:WSAppTechnicalException xmlns:p548=" http://WSCommonTypes10.XX.XX.XXXXXXX.XX " errorCode KSM2010 /errorCode errorString KSM2010 Account "1245" does not exist on the database /errorString errorTrace 988396/QUSER/QZDASOINIT /errorTrace errorExt name logUID /name value 200000004821055 /value /errorExt /p548:WSAppTechnicalException /detail /soapenv:Fault /soapenv:Body Is there a way to get the data from errorCode and errorString? I only get SOAP-FAULT-STRING = " XX.XXXXXXX.XX.XX.WSCommonTypes10.WSAppTechnicalException". That's all. I put here wsdl: ?xml version="1.0" encoding="UTF-8"? wsdl:definitions name="WSAccountBaseInfo10" targetNamespace=" http://WSAccountBaseInfo10.XX.XX.XX.XXXXXXX.XX " xmlns:soap=" http://schemas.xmlsoap.org/wsdl/soap/ " xmlns:tns=" http://WSAccountBaseInfo10.XX.XX.XX.XXXXXXX.XX " xmlns:wsct=" http://WSCommonTypes10.XX.XX.XX.XXXXXXX.XX " xmlns:wsdl=" http://schemas.xmlsoap.org/wsdl/ " xmlns:wsio=" http://WSAccountBaseInfoInOutParms10.XX.XX.XX.XXXXXXX.XX " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " wsdl:types xsd:schema targetNamespace=" http://WSAccountBaseInfo10.XX.XX.XX.XXXXXXX.XX " xsd:import namespace=" http://WSCommonTypes10.XX.XX.XXXXXXX.XX " schemaLocation="../WSCommonTypes10.xsd"/ xsd:import namespace=" http://WSAccountBaseInfoInOutParms10.XX.XX.XX.XXXXXXX.XX " schemaLocation="WSAccountBaseInfoInOutParms10.xsd"/ xsd:element name="WSAccountBaseInfoGet" type="tns:WSAccountBaseInfoGet"/ xsd:complexType name="WSAccountBaseInfoGet" xsd:sequence xsd:element name="inCommonParms" type="wsct:WSCommonParms"/ xsd:element name="inParms" type="wsio:WSAccountBaseInfoGetInParms"/ /xsd:sequence /xsd:complexType xsd:element name="WSAccountBaseInfoGetResponse" type="tns:WSAccountBaseInfoGetResponse"/ xsd:complexType name="WSAccountBaseInfoGetResponse" xsd:sequence xsd:element name="outParms" type="wsio:WSAccountBaseInfoGetOutParms"/ /xsd:sequence /xsd:complexType /xsd:schema /wsdl:types wsdl:message name="msgWSAccountBaseInfoGetResponse" wsdl:part element="tns:WSAccountBaseInfoGetResponse" name="WSAccountBaseInfoGetResponse" /wsdl:part /wsdl:message wsdl:message name="msgWSAppException" wsdl:part element="wsct:WSAppException" name="WSAppException" /wsdl:part /wsdl:message wsdl:message name="msgWSAccountBaseInfoGet" wsdl:part element="tns:WSAccountBaseInfoGet" name="WSAccountBaseInfoGet" /wsdl:part /wsdl:message wsdl:message name="msgWSTechnicalException" wsdl:part element="wsct:WSTechnicalException" name="WSTechnicalException" /wsdl:part /wsdl:message wsdl:message name="msgWSVerificationException" wsdl:part element="wsct:WSVerificationException" name="WSVerificationException" /wsdl:part /wsdl:message wsdl:message name="msgWSAccessException" wsdl:part element="wsct:WSAccessException" name="WSAccessException" /wsdl:part /wsdl:message wsdl:message name="msgWSAppTechnicalException" wsdl:part element="wsct:WSAppTechnicalException" name="WSAppTechnicalException" /wsdl:part /wsdl:message wsdl:portType name="WSAccountBaseInfoPortType" wsdl:eek:peration name="WSAccountBaseInfoGet" wsdl:input message="tns:msgWSAccountBaseInfoGet" /wsdl:input wsdl:eek:utput message="tns:msgWSAccountBaseInfoGetResponse" /wsdl:eek:utput wsdl:fault message="tns:msgWSTechnicalException" name="WSTechnicalException" /wsdl:fault wsdl:fault message="tns:msgWSAppTechnicalException" name="WSAppTechnicalException" /wsdl:fault wsdl:fault message="tns:msgWSAppException" name="WSAppException" /wsdl:fault wsdl:fault message="tns:msgWSAccessException" name="WSAccessException" /wsdl:fault wsdl:fault message="tns:msgWSVerificationException" name="WSVerificationException" /wsdl:fault /wsdl:eek:peration /wsdl:portType wsdl:binding name="WSAccountBaseInfoBinding" type="tns:WSAccountBaseInfoPortType" soap:binding style="document" transport=" http://schemas.xmlsoap.org/soap/http "/ wsdl:eek:peration name="WSAccountBaseInfoGet" soap:eek:peration soapAction="/XX/XX/WSAccountBaseInfo10#Get"/ wsdl:input soap:body use="literal"/ /wsdl:input wsdl:eek:utput soap:body use="literal"/ /wsdl:eek:utput wsdl:fault name="WSTechnicalException" soap:fault name="WSTechnicalException" use="literal"/ /wsdl:fault wsdl:fault name="WSAppTechnicalException" soap:fault name="WSAppTechnicalException" use="literal"/ /wsdl:fault wsdl:fault name="WSAppException" soap:fault name="WSAppException" use="literal"/ /wsdl:fault wsdl:fault name="WSAccessException" soap:fault name="WSAccessException" use="literal"/ /wsdl:fault wsdl:fault name="WSVerificationException" soap:fault name="WSVerificationException" use="literal"/ /wsdl:fault /wsdl:eek:peration /wsdl:binding wsdl:service name="WSAccountBaseInfoService" wsdl:port binding="tns:WSAccountBaseInfoBinding" name="WSAccountBaseInfoPort" soap:address location=" http://xxxxxx:9080/XX/XX/WSAccountBaseInfo/WSAccountBaseInfo10 "/ /wsdl:port /wsdl:service /wsdl:definitions Thanks in advance! Stop receiving emails on this subject. Flag this post as spam/abuse.

Continue reading...
 
Status
Not open for further replies.
Top