Author Message
VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
Hi, all!
I have a problem with my webservice.
I get null in out parameters:
Return value is null for BalanceOfDebt3
22/07/2011 11:00:28:790 DEBUG - CDB79E9DFF578C64CF257CAAE0C87E06:/test : Storing [__DD_NULL] to:BalanceOfDebt3
22/07/2011 11:00:28:790 WARN - CDB79E9DFF578C64CF257CAAE0C87E06:/test : Return value is null for ErrorCode2
22/07/2011 11:00:28:790 DEBUG - CDB79E9DFF578C64CF257CAAE0C87E06:/test : Storing [__DD_NULL] to:ErrorCode2
22/07/2011 11:00:28:790 WARN - CDB79E9DFF578C64CF257CAAE0C87E06:/test : Return value is null for MinimalPaymentValue3
22/07/2011 11:00:28:790 DEBUG - CDB79E9DFF578C64CF257CAAE0C87E06:/test : Storing [__DD_NULL] to:MinimalPaymentValue3
22/07/2011 11:00:28:790 WARN - CDB79E9DFF578C64CF257CAAE0C87E06:/test : Return value is null for isFS2
22/07/2011 11:00:28:790 DEBUG - CDB79E9DFF578C64CF257CAAE0C87E06:/test : Storing [__DD_NULL] to:isFS2

But in WireShark all is ok,
<?xml
version="1.0"
encoding="UTF-8"
?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<rpc:GetBalanceCollectionResponse
xmlns:rpc="http://siebel.com/asi/">
<BalanceOfDebt
xsi:type="xsd:string">
</BalanceOfDebt>
<ErrorCode
xsi:type="xsd:string">
1
</ErrorCode>
<MinimalPaymentValue
xsi:type="xsd:string">
</MinimalPaymentValue>
<isFS
xsi:type="xsd:string">
N
</isFS>
</rpc:GetBalanceCollectionResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I use standart webservice axis1 in dialog designer.
Please help me!
VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
I think it's wsdl to java problem. If out parameters 1, all ok type is String, if out parameters >1, then it's problem, cause type is holgers.StringHolder. What can i do? Thanks!
ShwetaBehere
Joined: Dec 23, 2013
Messages: 136
Offline
Are you getting back a simple variable (1 level deep) or is the return value more complex?

Do you have "Use Java Object" checked for the return value when you mapped the webservice to DD variables?

VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
I'm getting back simple variables(1 level deep).
No, i don't have "Use Java Object". I thought to try it, but i have this option not active.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
I believe "Use Java Object" is only available if the type is a complex type. It look like your wsdl file has the parameter defined as String type but then it sometimes return a complex type. Is that right? Can you show me the wsdl file?
VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
In wsdl all parameters defined as type string. But then dd generate stubs (wsdl2java) IN parameters defined as type String and OUT as void javax.xml.rpc.holders.StringHolder.
public void getBalanceCollection(java.lang.String codeDate, java.lang.String EDUID, java.lang.String ANI, javax.xml.rpc.holders.StringHolder balanceOfDebt, javax.xml.rpc.holders.StringHolder errorCode, javax.xml.rpc.holders.StringHolder minimalPaymentValue, javax.xml.rpc.holders.StringHolder isFS) throws java.rmi.RemoteException;

My WSDL look like this

- <message name="XXX_GetBalanceCollection_Input">
<part name="CodeDate" type="xsd:string" />
<part name="EDUID" type="xsd:string" />
<part name="ANI" type="xsd:string" />
</message>
- <message name="XXX_GetBalanceCollection_Output">
<part name="BalanceOfDebt" type="xsd:string" />
<part name="ErrorCode" type="xsd:string" />
<part name="MinimalPaymentValue" type="xsd:string" />
<part name="isFS" type="xsd:string" />
</message>
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
The generated code looks fine. That's how Axis works. When I looked back at the original post, you have this in the response:

<BalanceOfDebt
xsi:type="xsd:string">
</BalanceOfDebt>
<ErrorCode
xsi:type="xsd:string">
1
</ErrorCode>

This looks like an error to me, and you said it's fine?
VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
ErrorCode this is name of variable. I must get this value (in this example it's "1") but dd return "null"
22/07/2011 11:00:28:790 WARN - CDB79E9DFF578C64CF257CAAE0C87E06:/test : Return value is null for ErrorCode2
22/07/2011 11:00:28:790 DEBUG - CDB79E9DFF578C64CF257CAAE0C87E06:/test : Storing [__DD_NULL] to:ErrorCode2
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
I am not sure. There is no error in the Web Service execution. You may have executed the operation differently (like giving different inputs) to get different results.
VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
I tried execute differently operation ( differents inputs, differents operations) but result same. If out parameter one, all is ok. But if out parameters more, dd return all as "null".
DennisJakobsen
Joined: Feb 7, 2006
Messages: 0
Offline
Axis normally uses the string holders when a variable is used both for input and output - but in your case it does not look at you have the same variable name for both input and output.

Probably easiest if I try to duplicate it here. Can you please post the complete wsdl fine, and a DD trace including the soap going into and our from the web service.

Would you be open to use the Axis2 connector if I can get that one working better?
VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
the wsdl file is:
<?xml version="1.0" encoding="UTF-8" ?>
- <!--
edited with XMLSpy v2008 rel. 2 (http://www.altova.com) by mazuki (darksiderg)
-->
<?Siebel-Property-Set EscapeNames="false"?>
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://siebel.com/asi/" targetNamespace="http://siebel.com/asi/">
<types />
- <message name="TCS_spcCTI_spcService_GetContactAuth_Input">
<part name="EDUID" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetContactAuth_Output">
<part name="AuthResult" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetCardAndOperation_Input">
<part name="ActivityId" type="xsd:string" />
<part name="EDUID" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetCardAndOperation_Output">
<part name="CardNum" type="xsd:string" />
<part name="Operation" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetTransHistory_Input">
<part name="EDUID" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetTransHistory_Output">
<part name="TransactionHistory" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetBalance_Input">
<part name="EDUID" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetBalance_Output">
<part name="AvailableBalance" type="xsd:string" />
<part name="BalanceOfDebt" type="xsd:string" />
<part name="MinamalPaymentDate" type="xsd:string" />
<part name="MinimalPaymentValue" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetBalanceCollection_Input">
<part name="CodeDate" type="xsd:string" />
<part name="EDUID" type="xsd:string" />
<part name="ANI" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetBalanceCollection_Output">
<part name="BalanceOfDebt" type="xsd:string" />
<part name="ErrorCode" type="xsd:string" />
<part name="MinimalPaymentValue" type="xsd:string" />
<part name="isFS" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetTransHistory2_Input">
<part name="EDUID" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetTransHistory2_Output">
<part name="TransactionHistory" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_AuthContact3_Input">
<part name="MotherBirthDate" type="xsd:string" />
<part name="EDUID" type="xsd:string" />
<part name="ANI" type="xsd:string" />
<part name="CardDigits" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_AuthContact3_Output">
<part name="AuthResult" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_CardAutoActivation_Input">
<part name="BirthDate" type="xsd:string" />
<part name="CardNum" type="xsd:string" />
<part name="EDUID" type="xsd:string" />
<part name="ANI" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_CardAutoActivation_Output">
<part name="ErrorCode" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetBalance2_Input">
<part name="EDUID" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetBalance2_Output">
<part name="AvailableBalance" type="xsd:string" />
<part name="BalanceOfDebt" type="xsd:string" />
<part name="MinamalPaymentDate" type="xsd:string" />
<part name="MinimalPaymentValue" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetPostCode_Input">
<part name="CodeDate" type="xsd:string" />
<part name="EDUID" type="xsd:string" />
<part name="ANI" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetPostCode_Output">
<part name="AssetNumber" type="xsd:string" />
<part name="ErrorCode" type="xsd:string" />
<part name="PostCode" type="xsd:string" />
<part name="isInstallment" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_AuthContact2_Input">
<part name="MotherBirthDate" type="xsd:string" />
<part name="EDUID" type="xsd:string" />
<part name="ANI" type="xsd:string" />
<part name="CardDigits" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_AuthContact2_Output">
<part name="AuthResult" type="xsd:string" />
<part name="FullCardNumber" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_AuthContact_Input">
<part name="MotherBirthDate" type="xsd:string" />
<part name="EDUID" type="xsd:string" />
<part name="CardDigits" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_AuthContact_Output">
<part name="AuthResult" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetBalance3_Input">
<part name="Code_spcDate" type="xsd:string" />
<part name="EDUID" type="xsd:string" />
<part name="Old_spcError_spcCode" type="xsd:string" />
<part name="Card_spcNumber" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_GetBalance3_Output">
<part name="AvailableBalance" type="xsd:string" />
<part name="BalanceOfDebt" type="xsd:string" />
<part name="Error_spcCode" type="xsd:string" />
<part name="MinamalPaymentDate" type="xsd:string" />
<part name="MinimalPaymentValue" type="xsd:string" />
<part name="TransactionHistory" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_CheckANI_Input">
<part name="EDUID" type="xsd:string" />
<part name="ANI" type="xsd:string" />
</message>
- <message name="TCS_spcCTI_spcService_CheckANI_Output">
<part name="AvailableBalance" type="xsd:string" />
<part name="BalanceOfDebt" type="xsd:string" />
<part name="Error_spcCode" type="xsd:string" />
<part name="MinamalPaymentDate" type="xsd:string" />
<part name="MinimalPaymentValue" type="xsd:string" />
<part name="TransactionHistory" type="xsd:string" />
</message>
- <portType name="TSC_spcAvaya_spcIntegration_spcIVR_spcPort">
- <operation name="GetContactAuth">
<input message="tns:TCS_spcCTI_spcService_GetContactAuth_Input" />
<output message="tns:TCS_spcCTI_spcService_GetContactAuth_Output" />
</operation>
- <operation name="GetCardAndOperation">
<input message="tns:TCS_spcCTI_spcService_GetCardAndOperation_Input" />
<output message="tns:TCS_spcCTI_spcService_GetCardAndOperation_Output" />
</operation>
- <operation name="GetTransHistory">
<input message="tns:TCS_spcCTI_spcService_GetTransHistory_Input" />
<output message="tns:TCS_spcCTI_spcService_GetTransHistory_Output" />
</operation>
- <operation name="GetBalance">
<input message="tns:TCS_spcCTI_spcService_GetBalance_Input" />
<output message="tns:TCS_spcCTI_spcService_GetBalance_Output" />
</operation>
- <operation name="GetBalanceCollection">
<input message="tns:TCS_spcCTI_spcService_GetBalanceCollection_Input" />
<output message="tns:TCS_spcCTI_spcService_GetBalanceCollection_Output" />
</operation>
- <operation name="GetTransHistory2">
<input message="tns:TCS_spcCTI_spcService_GetTransHistory2_Input" />
<output message="tns:TCS_spcCTI_spcService_GetTransHistory2_Output" />
</operation>
- <operation name="AuthContact3">
<input message="tns:TCS_spcCTI_spcService_AuthContact3_Input" />
<output message="tns:TCS_spcCTI_spcService_AuthContact3_Output" />
</operation>
- <operation name="CardAutoActivation">
<input message="tns:TCS_spcCTI_spcService_CardAutoActivation_Input" />
<output message="tns:TCS_spcCTI_spcService_CardAutoActivation_Output" />
</operation>
- <operation name="GetBalance2">
<input message="tns:TCS_spcCTI_spcService_GetBalance2_Input" />
<output message="tns:TCS_spcCTI_spcService_GetBalance2_Output" />
</operation>
- <operation name="GetPostCode">
<input message="tns:TCS_spcCTI_spcService_GetPostCode_Input" />
<output message="tns:TCS_spcCTI_spcService_GetPostCode_Output" />
</operation>
- <operation name="AuthContact2">
<input message="tns:TCS_spcCTI_spcService_AuthContact2_Input" />
<output message="tns:TCS_spcCTI_spcService_AuthContact2_Output" />
</operation>
- <operation name="AuthContact">
<input message="tns:TCS_spcCTI_spcService_AuthContact_Input" />
<output message="tns:TCS_spcCTI_spcService_AuthContact_Output" />
</operation>
- <operation name="GetBalance3">
<input message="tns:TCS_spcCTI_spcService_GetBalance3_Input" />
<output message="tns:TCS_spcCTI_spcService_GetBalance3_Output" />
</operation>
- <operation name="CheckANI">
<input message="tns:TCS_spcCTI_spcService_CheckANI_Input" />
<output message="tns:TCS_spcCTI_spcService_CheckANI_Output" />
</operation>
</portType>
- <binding name="TSC_spcAvaya_spcIntegration_spcIVR_spcPort" type="tns:TSC_spcAvaya_spcIntegration_spcIVR_spcPort">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="GetContactAuth">
<soap:operation soapAction="rpc/http://siebel.com/asi/:GetContactAuth" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="GetCardAndOperation">
<soap:operation soapAction="rpc/http://siebel.com/asi/:GetCardAndOperation" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="GetTransHistory">
<soap:operation soapAction="rpc/http://siebel.com/asi/:GetTransHistory" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="GetBalance">
<soap:operation soapAction="rpc/http://siebel.com/asi/:GetBalance" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="GetBalanceCollection">
<soap:operation soapAction="rpc/http://siebel.com/asi/:GetBalanceCollection" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="GetTransHistory2">
<soap:operation soapAction="rpc/http://siebel.com/asi/:GetTransHistory2" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="AuthContact3">
<soap:operation soapAction="rpc/http://siebel.com/asi/:AuthContact3" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="CardAutoActivation">
<soap:operation soapAction="rpc/http://siebel.com/asi/:CardAutoActivation" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="GetBalance2">
<soap:operation soapAction="rpc/http://siebel.com/asi/:GetBalance2" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="AuthContact2">
<soap:operation soapAction="rpc/http://siebel.com/asi/:AuthContact2" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="GetPostCode">
<soap:operation soapAction="rpc/http://siebel.com/asi/:GetPostCode" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="AuthContact">
<soap:operation soapAction="rpc/http://siebel.com/asi/:AuthContact" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="GetBalance3">
<soap:operation soapAction="rpc/http://siebel.com/asi/:GetBalance3" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
- <operation name="CheckANI">
<soap:operation soapAction="rpc/http://siebel.com/asi/:CheckANI" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://siebel.com/asi/" />
</output>
</operation>
</binding>
- <service name="TCS_spcAvaya_spcIntegration">
- <port name="TSC_spcAvaya_spcIntegration_spcIVR_spcPort" binding="tns:TSC_spcAvaya_spcIntegration_spcIVR_spcPort">
<soap:address location="XXXX" />
</port>
</service>
</definitions>
VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
I'll paste in ....spcStubPort.java System.out.println() and get this result:


26/07/2011 22:19:01:382 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : SCESession bound to HttpSession EF27BBC588763392076F8CCC418B2A8B
26/07/2011 22:19:01:397 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Browser Version 2.1.4, terminationURL enabled : true
26/07/2011 22:19:01:397 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : Start
26/07/2011 22:19:01:475 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : ** Pushed Stack Frame [/test]
26/07/2011 22:19:01:491 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Not able to save posted variable information [call_classification]
26/07/2011 22:19:01:491 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___vpconverseondata to complex: session:vpconverseondata as []
26/07/2011 22:19:01:491 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___sessionid to complex: session:sessionid as [sess3914603]
26/07/2011 22:19:01:991 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : runtime_platform : Desktop
26/07/2011 22:19:01:991 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : runtime_asr : Desktop Microsoft Speech SAPI
26/07/2011 22:19:01:991 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Refreshing License
26/07/2011 22:19:01:991 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Acquiring Desktop runtime license
26/07/2011 22:19:01:991 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Runtime :true
26/07/2011 22:19:01:991 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : IC :true
26/07/2011 22:19:01:991 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : CTI :true
26/07/2011 22:19:02:116 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Grace Period timer cleared
26/07/2011 22:19:02:116 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : License refresh timer started
26/07/2011 22:19:02:116 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : AppRoot
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : untitledMenu1
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___videonearfmtp to complex: session:videonearfmtp as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___vprdnis to complex: session:vprdnis as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___channel to complex: session:channel as [0]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :redirectinfo___uri to complex: redirectinfo:uri as []
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :redirectinfo___presentationinfo to complex: redirectinfo:presentationinfo as [undefined]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___conversefirst to complex: session:conversefirst as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :shareduui___value to complex: shareduui:value as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___sessionlabel to complex: session:sessionlabel as [undefined]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :shareduui___id to complex: shareduui:id as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :redirectinfo___reason to complex: redirectinfo:reason as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___vpcalledextension to complex: session:vpcalledextension as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___ani to complex: session:ani as [undefined]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___videoheight to complex: session:videoheight as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___videocodec to complex: session:videocodec as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___videofarfmtp to complex: session:videofarfmtp as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___protocolname to complex: session:protocolname as [pots]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___mediatype to complex: session:mediatype as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :redirectinfo___screeninginfo to complex: redirectinfo:screeninginfo as [undefined]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___ucid to complex: session:ucid as [undefined]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___conversesecond to complex: session:conversesecond as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___videofps to complex: session:videofps as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___vpcoveragereason to complex: session:vpcoveragereason as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___videoformat to complex: session:videoformat as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___videoenabled to complex: session:videoenabled as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___sharedmode to complex: session:sharedmode as [shared]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___calltag to complex: session:calltag as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___dnis to complex: session:dnis as [undefined]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :_sipcallid to simple: _sipcallid as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___vpcoveragetype to complex: session:vpcoveragetype as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___uui to complex: session:uui as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___videobitrate to complex: session:videobitrate as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___videowidth to complex: session:videowidth as [unknown]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___protocolversion to complex: session:protocolversion as [1]
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :session___aai to complex: session:aai as []
26/07/2011 22:19:02:132 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : AppRoot
26/07/2011 22:19:04:335 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : untitledData1
26/07/2011 22:19:04:335 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :untitledMenu1___confidence to complex: untitledMenu1:confidence as [0.949999988079071]
26/07/2011 22:19:04:335 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :untitledMenu1___inputmode to complex: untitledMenu1:inputmode as [dtmf]
26/07/2011 22:19:04:335 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :untitledMenu1___nomatchcount to complex: untitledMenu1:nomatchcount as [0]
26/07/2011 22:19:04:335 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :untitledMenu1___noinputcount to complex: untitledMenu1:noinputcount as [0]
26/07/2011 22:19:04:335 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :untitledMenu1___interpretation to complex: untitledMenu1:interpretation as [1]
26/07/2011 22:19:04:335 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :untitledMenu1___utterance to complex: untitledMenu1:utterance as [1]
26/07/2011 22:19:04:335 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Storing :untitledMenu1___value to complex: untitledMenu1:value as [1]
26/07/2011 22:19:04:335 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData1 | | untitledMenu1:value : 1
26/07/2011 22:19:04:335 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : untitledData2
26/07/2011 22:19:04:351 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Assigning [1203] to [CodeDate]
26/07/2011 22:19:04:351 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData2 | | MotherBirthDate2 :
26/07/2011 22:19:04:351 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Assigning [4df8cc8e00110000c0a80158232c0002] to [EDUID3]
26/07/2011 22:19:04:351 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Assigning [2055] to [ANI1]
26/07/2011 22:19:04:351 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Assigning [44569871] to [CardDigits2]
26/07/2011 22:19:04:413 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Collecting [1203] from:CodeDate
26/07/2011 22:19:04:413 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Collecting [4df8cc8e00110000c0a80158232c0002] from:EDUID3
26/07/2011 22:19:04:413 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Collecting [2055] from:ANI1
26/07/2011 22:19:04:413 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Calling Web Service [TCS_spcAvaya_spcIntegration] at [http://xxxxx] operation [GetBalanceCollection]
26/07/2011 22:19:04:413 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Setting web service timeout to 45 seconds
26/07/2011 22:19:10:054 DEBUG - [VOX] ICConnectorCommon.Write: Writing to socket:pong
*****************_output:{MinimalPaymentValue=, isFS=N, ErrorCode=1, BalanceOfDebt=}
balanceOfDebt.value is:
errorCode.value:1
minimalPaymentValue.value is
********************************isFS.value is N
Leaving getBalanceCollection...
26/07/2011 22:19:14:694 WARN - EF27BBC588763392076F8CCC418B2A8B:/test : Return value is null for BalanceOfDebt
26/07/2011 22:19:14:694 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Storing [__DD_NULL] to:BalanceOfDebt
26/07/2011 22:19:14:694 WARN - EF27BBC588763392076F8CCC418B2A8B:/test : Return value is null for ErrorCode
26/07/2011 22:19:14:694 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Storing [__DD_NULL] to:ErrorCode
26/07/2011 22:19:14:694 WARN - EF27BBC588763392076F8CCC418B2A8B:/test : Return value is null for MinimalPaymentValue
26/07/2011 22:19:14:694 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Storing [__DD_NULL] to:MinimalPaymentValue
26/07/2011 22:19:14:694 WARN - EF27BBC588763392076F8CCC418B2A8B:/test : Return value is null for isFS
26/07/2011 22:19:14:694 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Storing [__DD_NULL] to:isFS
26/07/2011 22:19:14:694 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : untitledApplicationTracking1
26/07/2011 22:19:14:694 INFO - In Progress | session id:sess3914603 | test:untitledApplicationTracking1 | | | isFS2 | | undefined
26/07/2011 22:19:14:710 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledApplicationTracking1 | | ErrorCode2 :
26/07/2011 22:19:14:710 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : untitledData3
26/07/2011 22:19:14:710 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData3 | | MinimalPaymentValue : __DD_NULL
26/07/2011 22:19:14:710 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData3 | | MinimalPaymentValue1 :
26/07/2011 22:19:14:710 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData3 | | AvailableBalance :
26/07/2011 22:19:14:710 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData3 | | BalanceOfDebt1 :
26/07/2011 22:19:14:710 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData3 | | ErrorCode1 :
26/07/2011 22:19:14:710 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData3 | | MotherBirthDate2 :
26/07/2011 22:19:14:710 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData3 | | EDUID2 :
26/07/2011 22:19:14:710 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : session id:sess3914603 | test:untitledData3 | | siFS:is_it :
26/07/2011 22:19:14:726 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : [condition1] Condition [AuthResult1] String Equal [N] next [null]
26/07/2011 22:19:14:726 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : untitledDisconnect1
26/07/2011 22:19:14:726 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : AppRoot
26/07/2011 22:19:14:741 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Using SCESession EF27BBC588763392076F8CCC418B2A8B:/test servlet : untitledReturn1
26/07/2011 22:19:14:741 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Removing session from AvayaSessionTermination Servlet
26/07/2011 22:19:14:741 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Termination URL reply : <?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
</vxml>

26/07/2011 22:19:14:741 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Setting Exit Timer 1000 milliseconds
26/07/2011 22:19:14:741 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Response already comitted, using saved http session
26/07/2011 22:19:14:851 DEBUG - [VOX] ICConnectorCommon.ChangeConnectionState: VOX() connection is now down
26/07/2011 22:19:14:866 DEBUG - [VOX] ICConnectorServer.WaitForConnection: Ready to accept VOX connection at port 3000
26/07/2011 22:19:15:741 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : Invalidating From Exit Timer
26/07/2011 22:19:15:741 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : HTTP Session lost removing SCESession EF27BBC588763392076F8CCC418B2A8B
26/07/2011 22:19:15:741 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : SCESession Removed
26/07/2011 22:19:15:741 DEBUG - EF27BBC588763392076F8CCC418B2A8B:/test : Removing 1 session stack frames.
26/07/2011 22:19:15:741 INFO - EF27BBC588763392076F8CCC418B2A8B:/test : ** Popped Stack Frame [/test]

But I can't find why return Null.
VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
I use GetBalanceCollection operations.
IN: EDUID, ANI, CodeDate
OUT: BalanceofDebt, ErrorCode, MinimalPayment, isFS
VsevolodAndriyanov
Joined: Mar 3, 2014
Messages: 10
Offline
I paste Systeme.put.println() in .spc.StubPort.java here:

public void getBalanceCollection(java.lang.String codeDate, java.lang.String EDUID, java.lang.String ANI, javax.xml.rpc.holders.StringHolder balanceOfDebt, javax.xml.rpc.holders.StringHolder errorCode, javax.xml.rpc.holders.StringHolder minimalPaymentValue, javax.xml.rpc.holders.StringHolder isFS) throws java.rmi.RemoteException {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[4]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("rpc/http://siebel.com/asi/:GetBalanceCollection");
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("http://siebel.com/asi/", "GetBalanceCollection"));

setRequestHeaders(_call);
setAttachments(_call);
try { java.lang.Object _resp = _call.invoke(new java.lang.Object[] {codeDate, EDUID, ANI});

if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException)_resp;
}
else {
extractAttachments(_call);
java.util.Map _output;
_output = _call.getOutputParams();
System.out.println ("*****************_output:" + _output);
try {
balanceOfDebt.value = (java.lang.String) _output.get(new javax.xml.namespace.QName("", "BalanceOfDebt"));
} catch (java.lang.Exception _exception) {
balanceOfDebt.value = (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "BalanceOfDebt")), java.lang.String.class);
}
System.out.println("balanceOfDebt.value is: " + balanceOfDebt.value);
try {
errorCode.value = (java.lang.String) _output.get(new javax.xml.namespace.QName("", "ErrorCode"));
} catch (java.lang.Exception _exception) {
errorCode.value = (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "ErrorCode")), java.lang.String.class);
}
System.out.println ("errorCode.value:" + errorCode.value);
try {
minimalPaymentValue.value = (java.lang.String) _output.get(new javax.xml.namespace.QName("", "MinimalPaymentValue"));
} catch (java.lang.Exception _exception) {
minimalPaymentValue.value = (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "MinimalPaymentValue")), java.lang.String.class);
}
System.out.println("minimalPaymentValue.value is " + minimalPaymentValue.value);
try {
isFS.value = (java.lang.String) _output.get(new javax.xml.namespace.QName("", "isFS"));
} catch (java.lang.Exception _exception) {
isFS.value = (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "isFS")), java.lang.String.class);
}
System.out.println("********************************isFS.value is " + isFS.value);
}
} catch (org.apache.axis.AxisFault axisFaultException) {
throw axisFaultException;
}
System.out.println("Leaving getBalanceCollection...");
Go to:   
Mobile view