| James 1000 2006-09-22, 6:59 pm |
| Hi, I have created my own simple data type called DMScript
public class DMScript implements Serializable {
private String name = "";
private String command = "";
... etc ...
I have created the getter / setter methods. Servicegen (or autogen) has created me the
"DMScriptHolder.java" and "DMScriptCodec.java" classes (and added DMScript entries into
'web-services.xml' and 'types.xml')
Surely the DMScriptCodec class should contain the methods serialize() and deserialize() (I
thought that was the whole idea of these auto generated classes)
I'm getting the following exception, and I 'assume' this is because it couldn't find a
serialization method.
----------------------------
javax.xml.rpc.JAXRPCException:
failed to invoke operation 'createCommandScriptJobForDevice' due to an error in the soap
layer (SAAJ);
nested exception is:
Message[ failed to serialize class
com.test.oma.webservices.values.CreateCommandScriptJobRequest
weblogic.xml.schema.binding.SerializationException:
mapping lookup failure.
class=class com.test.deviceManagement.values.DMScript
class
context=TypedClassContext{schemaType=['j
ava:com.test.deviceManagement.values']:DMScript}]
----------------------------
I'm using Weblogic 8.1 sp4
|