| Author |
error while validate xml
|
p ptyr
Greenhorn
Joined: Apr 04, 2008
Posts: 2
|
|
hi i have web services on my server and while using SoapUI the xml response i got isn't valid. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <loginResponse xmlns="http://ws.middleware.telmap.com"> <loginReturn> <serverId>01</serverId> <sessionId>254041767</sessionId> </loginReturn> </loginResponse> </soapenv:Body> </soapenv:Envelope> the error i got is "line 5: Expected element 'serverId@http://responses.obj.imapi.telmap.com' instead of 'serverId@http://ws.middleware.telmap.com' here in element loginReturn@http://ws.middleware.telmap.com" i'm using waxis so i have wsdd file. what should i configure in my wsdd file in order to remove this error. the wsdl contains this line "<element name="serverId" nillable="true" type="xsd:string"/>" which is not true sessionId is Java String not xsd:String Thanks pp
|
 |
 |
|
|
subject: error while validate xml
|
|
|