• Post Reply Bookmark Topic Watch Topic
  • New Topic

error while validate xml  RSS feed

p ptyr
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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">
<loginResponse xmlns="http://ws.middleware.telmap.com">

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!