You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by cheng liang <ch...@hotmail.com> on 2004/04/21 04:08:08 UTC

problem when realize echoStringArray(...) method in InteropBase.wsdl

hi,all,

I am a newer to Axis in C++.

I want to realize the InteropBase webservice. 

I generate the server and client code automatically using wsdl2Ws tool 
according to
the documents on website.

In client main() method I write:
void main()
{
	InteropTestPortType myBase;
	ArrayOfstring arrstrValue0;
	arrstrValue0.m_Array = new string;
	*arrstrValue0.m_Array = "Hello";
	arrstrValue0.m_Size = 1;
	ArrayOfstring arrstrValue1 = myBase.echoStringArray(arrstrValue0);
}

In server the code is:
ArrayOfstring InteropTestPortType::echoStringArray(ArrayOfstring Value0)
{
	return Value0;
}

When I run client program, it seems just data has been sent out to the 
server, but server
has no reply, and the client is always waiting.

My axis has been deployed correctly on apache 1.3.28. And when I realize 
echoInterger(...) method there is no problem.

I found many times but can not solve this problem.

Could anyone help me?

best,
Cheng Liang

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn