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

Status
Not open for further replies.
F

Fuelfire

Guest
Ok, I rephrase my question. How should I pass the input parameters according to the description of the service? Now one of my input parameters looks like: ?xml version="1.0" ? inCommonParms userID ? /userID branchNumber 0000 /branchNumber externalSystemCode GRCH /externalSystemCode externalUserCode IBSR /externalUserCode /inCommonParms Then I serialize it into LONGCHAR. In description (I described it in the first post) this parameter looks like: inCommonParms !-- The following element is optional. -- userID string-value /userID !-- The following element is optional. -- branchNumber string-value /branchNumber externalSystemCode string-value /externalSystemCode externalUserCode string-value /externalUserCode !-- The following element is optional. -- ldapUser string-value /ldapUser !-- The following element is optional. -- ldapPassword string-value /ldapPassword !-- The following element may occur 1 or more times. -- inCommonParmsExt name string-value /name value string-value /value /inCommonParmsExt /inCommonParms Now the service throws an exception and returns to SOAP-FAULT-STRING this value - "WSCommonTypes10.WSAppTechnicalException". Description of this exception is: soap:detail xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' ns0:WSAppTechnicalException xmlns:ns0="http://bla-bla-bla" errorCode string-value /errorCode errorString string-value /errorString errorTrace string-value /errorTrace !-- The following element may occur 1 or more times. -- errorExt name string-value /name value string-value /value /errorExt /ns0:WSAppTechnicalException /soap:detail How do I get a detailed description (errorCode and ErrorString) of exception? What am I doing wrong?

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