Results 1 to 2 of 2

Thread: xmlns:env is wrong from Zend_Soap_Client

  1. #1
    0x001a4 is offline Junior Member
    Join Date
    Sep 2010
    Posts
    11

    Default [SOLVED] xmlns:env is wrong from Zend_Soap_Client

    I'm trying to use Zend_Soap_Client to communicate with a web services server (at fedex). I pass the WSDL to Zend_Soap_Client and then try to issue one of the calls but I get back this message:
    Code:
    The message must be an instance of: {http://schemas.xmlsoap.org/soap/envelope/}Envelope
    So I checked the request that is actually being sent and it contains:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" ...
    So it would seem the server is expecting something different from what Zend is generating. Is there a way I can specify the URI to use?
    Last edited by 0x001a4; 04-04-2011 at 01:40 PM. Reason: SOLVED

  2. #2
    0x001a4 is offline Junior Member
    Join Date
    Sep 2010
    Posts
    11

    Default

    Using Zend_Soap_Client_DotNot fixed the issue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •