Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
| Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 27th, 2008, 11:20 AM
Registered User
 
Join Date: Jan 2008
Location: , , South Africa.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Consuming Web service with NuSoap

Hi, I am trying to consume a webservice with php 4.4.1, and nusoap. I am receiving an error message:

ERROR_LoadXML: Root element is missing.

The developer from the web service server side says that I need to convert my xml string to bytes, and then send the bytes as message instead of the xml string.

How do I convert a string to a byte, in php, and is this the correct solution??

Any help would be greatly appreciated.

Craig



Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Service Consuming another web service CraigWhitfield EJB 0 January 10th, 2008 08:38 AM
Nusoap problem - empty request in web service ronenray PHP How-To 0 February 11th, 2007 12:43 PM
Consuming Web Service edgtr .NET Web Services 0 November 1st, 2006 03:50 PM
Consuming Axis Web Service from .NET - Problem Koushik .NET Web Services 0 October 28th, 2006 07:29 AM
Consuming web service with dismal performance jcrossett ASP.NET 2.0 Professional 0 December 13th, 2005 11:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.