You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "White, Joshua" <jw...@ELLACOYA.com> on 2001/04/06 20:07:39 UTC
RE: class name 'String' could not be resolved: String
Let's see your deployment descriptor.
-----Original Message-----
From: venkat reddy [mailto:venkatr@Gandiva.com]
Sent: Friday, April 06, 2001 2:17 PM
To: 'soap-user@xml.apache.org'
Subject: class name 'String' could not be resolved: String
I'm trying to send in a String to a service deployed on my weblogic
server.
Can any of you tell me what is the Serializer and Deserializer for
the StringClass.
The method deployed takes a String Parameter The following is the
way in the client that I set this parameter.
Call call = new Call();
call.setTargetObjectURI("urn:HTMLDOMFetcher");
call.setMethodName("HTMLExample");
call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
String urlString = args[1];
Vector params=new Vector();
params.addElement (new Parameter ("URLString", String.class, urlString,
null));
call.setParams(params);
// Invoke the call.
Response resp;
try
{
resp = call.invoke(url, "");
}
catch (SOAPException e)
{
System.err.println("Caught SOAPException (" +
e.getFaultCode() + "): " +
e.getMessage());
return;
}
The fault code is as follows::
Fault Code = SOAP-ENV:Client
Fault String = deployment error in SOAP service
'urn:HTMLDOMFetcher': class name 'String' could not be resolved: String
HELP required urgently..................... and will be greatly
appreciated
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org