473,399 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Fatal error: Uncaught SoapFault exception: [prefix0:MessageInformationHeaderRequired]

160 100+
I am trying to create a soap connection , however I'm getting an error when I try and create an instance of the soap client class.

Expand|Select|Wrap|Line Numbers
  1. $client = new SoapClient("exampleaddress.wsdl",
  2.         array(  'login'      => 'xxx',
  3.                 'password' => 'xxxx',
  4.              )
  5.             );
  6.  
The error is

Expand|Select|Wrap|Line Numbers
  1. Fatal error: Uncaught SoapFault exception: [prefix1:MessageInformationHeaderRequired]
  2.  
  3. xxxxx.Addressing.AddressingFault: Message Information Header Required at
  4. xxxxx.Messaging.SoapHttpRouter.ProcessRequestMessage(SoapEnvelope message) at
  5. xxxxx.Messaging.SoapHttpRouter.RoutingAsyncResult.ForwardRequest() at
  6. xxxxx.Messaging.SoapHttpRouter.RoutingAsyncResult..ctor(SoapHttpRouter parent, HttpContext httpContext, AsyncCallback callback,
  7.  Object asyncState) in siteaddress\pagename.php:13 Stack trace: #0 siteaddress\pagename.php(13):
  8.  SoapClient->__call('getPDF', Array) #1 siteaddress\pagename.php(13):
  9.  SoapClient->getPDF(Array) #2 {main} thrown in siteaddress\pagename.php on line 13
  10.  
Thanks
May 27 '12 #1
4 3279
Luuk
1,047 Expert 1GB
There seems to ben an error in your header....

I think installing soapui is a nice tool to test soap connections. It can create example messages from a given WSDL
(http://sourceforge.net/projects/soapui/)
May 27 '12 #2
waqasahmed996
160 100+
thanx luuk. i will try and will back to you if i will feel any difficulty:) thanx again. is there any other solution?
May 27 '12 #3
waqasahmed996
160 100+
one thing it happens when i call a function. before calling a function i can see the list of functions. but when i call a function than that error appeared
May 28 '12 #4
Luuk
1,047 Expert 1GB
Sorry, my English is not good enough to understand what you mean.
And i dont have enough information to guess... ;)
May 28 '12 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Matt Bostock | last post by:
Hi, When I validate this page: http://www.drfunkenstein.net/using http://jigsaw.w3.org/css-validator/, I get the following results: ...
1
by: R | last post by:
Hi All, I'm using PHP 5, my code fully separates code from content, my code throws exceptions (LIZException) when error occurs. but every time I throw exception I get this fatal error: ...
2
by: mkoonani | last post by:
Hi, i am getting the following error while using js to communicate between parent and child windows using Firefox browser. Can anyone help me out from this.? MK
2
by: funktacular | last post by:
Hi - I have some javascript that works when I run it from a server, but I need to run it locally. When I try to execute it locally I get the following error: Error: uncaught exception: Permission...
3
by: friend | last post by:
Error: uncaught exception: " nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://manimekalai/VulnMgmt/scanfi/crs_source/vulnupdate/latest.php?vulnerability=2451 ::...
1
by: scn87 | last post by:
I am getting a fatal error like this.Can anyone tell what does this mean? Fatal error: Uncaught exception 'DOMException' with message 'Not Found Error' in C:\wamp\www\sss\PHARMACY\LATEST...
5
by: neovantage | last post by:
Hey all, I am using Swift mailer and i am getting error "Fatal error: Uncaught exception 'Swift_RfcComplianceException' with message 'Address in mailbox given does not comply with RFC 2822,...
7
by: yashmistrey | last post by:
I am getting error on signup at <URL removed at request of poster>
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.