ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » Problem regarding SOAP Header Parsing in WAS V6.1

Post new topic  Reply to topic
 Problem regarding SOAP Header Parsing in WAS V6.1 « View previous topic :: View next topic » 
Author Message
sourdas2
PostPosted: Thu Aug 21, 2008 12:03 pm    Post subject: Problem regarding SOAP Header Parsing in WAS V6.1 Reply with quote

Voyager

Joined: 21 Apr 2006
Posts: 90
Location: Kolkata,India

I am using WAS V6.1 Fix Pack 17 on Windows XP. I have created a sample Webservice with basic SOAP Authentication i.e. SOAP Header would contain basic UsrName/Password Security token. Now, when I call the webservice from external client I am getting a exception - "org.xml.sax.SAXParseException: The root element is required in a well-formed document". But my SOAP message looks perfectly alright.

Code:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Header>
        <wsse:Security>
            <wsse:UsernameToken>
                <wsse:Username>Joe</wsse:Username>
                <wsse:Password>ILoveJava</wsse:Password>
            </wsse:UsernameToken>
        </wsse:Security>
  </soapenv:Header> 
  <soapenv:Body>
    <ns0:creditCheck xmlns:ns0="http://www.ibm.com/creditCheck/">
      <SSN>12345</SSN>
    </ns0:creditCheck>
  </soapenv:Body>
</soapenv:Envelope>


Anybody can suggest me where I am going wrong ?
_________________
Thanks and Warm Regards
Sourav
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » Problem regarding SOAP Header Parsing in WAS V6.1
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.