You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/03/23 17:38:58 UTC
[jira] Closed: (AXIS-1204) Deploying the WSDD in Websphere - SimpleDeserializer Error Message
Message:
The following issue has been closed.
Resolver: Davanum Srinivas
Date: Tue, 23 Mar 2004 8:37 AM
try
java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -p9080 -hlocalhost deploy.wsdd
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1204
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1204
Summary: Deploying the WSDD in Websphere - SimpleDeserializer Error Message
Type: Bug
Status: Closed
Resolution: FIXED
Project: Axis
Components:
Serialization/Deserialization
Versions:
1.1
Assignee:
Reporter: Dorian J. Pettway
Created: Wed, 21 Jan 2004 9:38 PM
Updated: Tue, 23 Mar 2004 8:37 AM
Environment: Operating System: Windows NT/2K
Platform: PC
Description:
Hello,
I am running Websphere version 5 and Axis 1.1, and I am trying to deploy a WSDD
file. However, when I execute the AdminClient command I get the following
error. When I execute the command, I am in the same directory as my
deploy.wsdd. Strangely, when I try to deploy the same deploy.wsdd using the
SimpleAxisServer everything seems ok. This would be fine, except that my goal
is to deploy in the Websphere environment.
Can someone help me?
This is the error message that I get when I attempt to deploy to Websphere.
(Note, I run Websphere on a different port...)
C:\wsproject\TestAuthentication\Config\resources\files_axis_sample>
java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -
lhttp://localhost:9080/TestAuthentication/axis/SpellCheck.jws deploy.wsdd
Processing file deploy.wsdd
Exception:: org.xml.sax.SAXException: SimpleDeserializer encountered a child
element, which is NOT expected, in something it was trying to deserialize.
These are the commands and msgs. that I use and get when deploying using the
SimpleAxisServer.
C:\wsproject\TestAuthentication\Config\resources\files_axis_sample>
java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -p8081 deploy.wsdd
Processing file deploy.wsdd
<Admin>Done processing</Admin>
Here is my deploy.wsdd file >>
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="SpellCheck" provider="java:RPC">
<parameter name="className" value="SpellCheck"/>
<parameter name="scope" value="application"/>
<parameter name="allowedMethods" value="*"/>
</service>
</deployment>
Here is the (Sample) SpellCheck Web Service that I am using >>
import java.util.HashMap;
public class SpellCheck {
HashMap words = new HashMap();
public SpellCheck() {
words.put("0","the");
words.put("1","and");
words.put("2","but");
}
public String checkfred(String bookname) {
// boolean result = words.contains(bookname.toLowerCase());
System.out.println("Printing a test message!!!");
String result = (String)words.get(bookname);
return result + "... (DATA)";
}
}
Any help would be gladly appreciated...
Thanks,
D.J.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira