The webservice is deployd on the server and if i try to connect with my Client (Stub) to the service, everything is fine
My problem:
my webservice must be document/literal, because I don't use an own Client but a Client integrated in Infopath (Microsoft Office Tool, which must have an document(literal-webservice). This means, that the service-tag in the wsdd-file must contain the attributes code: ________________________________________
style=document und use=literal ________________________________________ . I've tried it also with style=wrapped, but Infopath seems not to understand the wrapped-style.
If I try to deploy my webservice (wsdd-file) with code: ________________________________________
style=document und use=literal ________________________________________ . axis 1.1 could not create a wsdl-file, so I can't call my service:-( axis shows the following error if i try to view the wsdl-file on http://localhost:8080/axis/services/Pflanzenschutz?wsdl: code: ________________________________________
AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - Attempted to write schema for bad QName (no namespace) : getPflanzenschutzeReturn
AxisFault faultCode: {http://xml.apache.org/axis/}Server.generalException faultSubcode: faultString: Attempted to write schema for bad QName (no namespace) : getPflanzenschutzeReturn faultActor: faultNode: faultDetail: ________________________________________
This only happens, if my webservice-method returns a complex type like an aaray of strings (String[]). If the service returns a single String instead of an array everything seems to work fine.