|
#1
|
|||
|
|||
|
I'm trying to use the loadWSDL tag and runing into a problem that I suspect shows I'm doing this completely wrong. I've added the following tag to my JSP page in order to preload a WSDL (By this all works fine with the dynamic loadXML).
Code:
<script type="text/javascript"> <isomorphic:loadWSDL url="http://localhost:8087/appserver/services/TestService.TestPort?wsdl" cache="3600"/> </script> Code:
<script type="text/javascript">
{
isc:"http://smartclient.com/XSExtensions",
mime:"http://schemas.xmlsoap.org/wsdl/mime/",
soap:"http://schemas.xmlsoap.org/wsdl/soap/",
soapenc:"http://schemas.xmlsoap.org/soap/encoding/",
wsdl:"http://schemas.xmlsoap.org/wsdl/",
xs:"http://www.w3.org/2001/XMLSchema",
SchemaSet:{qualifyAll:"false", schemaNamespace:"", serviceNamespace:"ns:test.com", schema:null},
WebService:{
dataURL:"http://192.168.1.106:8087/appserver/services/TestService.TestPort/",
serviceNamespace:"ns:test.com",
soapStyle:"document",
schemaImport:{namespace:"ns:test.com"},
operations:{
operation:{inputEncoding:"literal", inputMessage:"addUser", inputParts:"", name:"addUser",
outputEncoding:"literal",outputMessage:"addUserResponse", outputParts:"",
soapAction:"addUser"}
},
messages:{
WSDLMessage:[
{
ID:"message:Exception",
fields:{
field:{mustQualify:"true", name:"Exception", type:"Exception", xmlRequired:"true",
xsElementRef:"true"}
}
},
{
ID:"message:addUserResponse",
fields:{
field:{mustQualify:"true", name:"addUserResponse", type:"addUserResponse",
xmlRequired:"true",xsElementRef:"true"}
}
},
{
ID:"message:addUser",
fields:{
field:{mustQualify:"true", name:"addUser", type:"addUser", xmlRequired:"true",
xsElementRef:"true"}
}
}
]
}
}
}
</script>
|
|
#2
|
|||
|
|||
|
This looks like it could result from an incomplete install, like perhaps the .ds.xml files in the isomorphic/schema directory are missing.
|
|
#3
|
|||
|
|||
|
Thanks! I did in fact have a screwed up schema directory in the deployment
|