axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GRESSIER Yoan <yoan.gress...@sncf.fr>
Subject deploying web servie containing ArrayList
Date Wed, 11 Jun 2003 14:06:45 GMT
Hi 

I'm trying to deploy a web service like :

public String addArray( ArrayList l ) 
{
  String som = "";
  for( int i = 0; i < l.size(); i++ )
  {
    String c = (String)l.get( i );
    som += c; 
  }
  return som;
}

I get the following error while accessing the WSDL file : 
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is: 
	WSDLException: faultCode=OTHER_ERROR: Can&apos;t find prefix for
&apos;http://www.w3.org/2002/12/soap-encoding&apos;. Namespace prefixes must
be set on the Definition object using the addNamespace(...) method.: 
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: WSDLException: faultCode=OTHER_ERROR: Can&apos;t find prefix
for &apos;http://www.w3.org/2002/12/soap-encoding&apos;. Namespace prefixes
must be set on the Definition object using the addNamespace(...) method.: 
 faultActor: 
 faultNode: 
 faultDetail:


Does anyone have an idea about that .

Thanks
Regards

************************
Yoan GRESSIER
Stagiaire DSIT-EX/CX
Premium - 2.5



Mime
View raw message