By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,364 Members | 1,493 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,364 IT Pros & Developers. It's quick & easy.

calling Java WS method returning array

P: n/a

after parsing WSDL definition of java
WebService, C# proxy class contains data strutures
(I'm using RPC\encoded):

[System.Xml.Serialization.SoapTypeAttribute("DateSt ring", "http:/
public class DateString {

/// <remarks/>
public string value;

/// <remarks/>
[System.Xml.Serialization.SoapTypeAttribute("Deacti vationInfo",
public class DeactivationInfo {

/// <remarks/>
public DateString deactivationDate;

/// <remarks/>
public DateString insertDate;

/// <remarks/>
public string msisdn;

/// <remarks/>

[System.Xml.Serialization.SoapTypeAttribute("Deacti vationInfoArray",
public class DeactivationInfoArray

/// <remarks/>
public DeactivationInfo[] deactivations;

/// <remarks/>
public int nextID;

/// <remarks/>
public bool partial;
/// <remarks/>

[System.Xml.Serialization.SoapTypeAttribute("Deacti vationInfoArrayResponse",
public class DeactivationInfoArrayResponse : Response {

/// <remarks/>
public DeactivationInfoArray array;
I try to call method returning DeactivationInfoArrayResponse

DeactivationInfoArrayResponse deactInfoArrayRet =

deactInfoArrayRet contains proper:
- deactInfoArrayRet.retCode (coming from inherited
Response class)
- deactInfoArrayRet.array
deactInfoArrayRet.array (DeactivationInfoArray type) contains:
- valid deactInfoArrayRet.array.nextID property value
- valid deactInfoArrayRet.array.partial property value


deactInfoArrayRet.array.deactivations array
(DeactivationInfoArrayResponse.DeactivationInfoArr ay.DeactivationInfo[])
is always null....
why? when i trace SOAP message, values are properly returned from WS
but are not avilable in .NET code....

Nov 23 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.