Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Actuate web services problem

Status
Not open for further replies.

johinth

Programmer
Jul 25, 2001
12
0
0
US
I'm trying to use the Actuate web services to query the encyclopedia to get the list of reports and other details.

I got the wsdl info from
Following is the XML that is sent to the server

<env:Envelope xmlns:SOAP-ENC=" xmlns:env=" xmlns:xsd=" xmlns:xsi="<env:Body>
<Login>
<User>Administrator</User>
<Password></Password>
<UserSetting>false</UserSetting>
</Login>
</env:Body>
</env:Envelope>


I got the following error.

{{{<ns1:Message>The message did not contain a SOAP header.</ns1:Message>

Pls let me know what is missing in this or else send me some references on how to test the web services.


thanks in advance,
Johinth
 
Posting to my one...

Adding the dummy header makes it to work. While using axis it looks like you have to set the empty header before make any call.

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv=" xmlns:xsd=" xmlns:xsi=" <soapenv:Header/>
<soapenv:Body>
<Login xmlns=" <User>actuateuser</User>
<Password>actuateuser</Password>
<UserSetting>false</UserSetting>
</Login>
</soapenv:Body>
</soapenv:Envelope>

thanks,
Joh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top