Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default SOAP and wdsl

    Hi,
    I'm having a bit of trouble with SOAP and wdsl. I was wondering if anyone can
    clarify when i'm going wrong..!

    I'm trying to connect to a webservice with coldfusion, the address ends with a
    php extension and when visited the xml appears as in code sample attached.

    Am I right in assuming that this is not in a format that is readable by
    coldfusion, and would there be anyway of using it?

    I'm currently lead to believe that the code the php file gives isn't the wdsl
    file and i'd need one to interface the two, is that correct?

    If I try using the php file directly coldfusion gives the following:

    Could not generate stub objects for web service invocation.
    WSDLException (at /SOAP-ENV:Envelope): faultCode=INVALID_WSDL: Expected
    element '{soap_url_here/}definitions'.:
    (NB: the service does work with PHP and nusoap)

    Any help would be really appreciated!
    Cheers,
    Alex



    <?xml version="1.0" encoding="ISO-8859-1" ?>
    - <SOAP-ENV:Envelope
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:si="http://soapinterop.org/xsd">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>Server</faultcode>
    <faultactor />
    <faultstring>error in msg parsing: xml was empty, didn't
    parse!</faultstring>
    - <detail>
    <soapVal xsi:type="xsd:string" />
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    Zander Guest

  2. Similar Questions and Discussions

    1. Flex Samples WDSL 404 Error
      I loaded the flex samples on JRUN4 on my home machine last night and everything worked fine. Today I followed exactly thge same procedure and...
    2. Writing a HTML/ASP SOAP client for a SOAP::Lite destination
      How would I go about writing a SOAP client in either HTML or classic asp? The SOAP "listener" was written in Perl with SOAP::Lite in Unix and I am...
    3. SOAP Filters: SOAP Header is missing
      I've created an Input/Output filter combination to create a custom header. I am using WSE 1.0. The ProcessMessage( SoapEnvelope envelope) is called...
    4. Problem of using apache soap to consume WSE 2.0 soap attachment
      I developed a web service at .NET with WSE 2.0 attachming soap attachment with soap response, and I can write a .NET client app to consume it. ...
    5. SOAP Client creation in ASP.NET using MS SOAP Toolkit
      how would I create a SOAP client in ASP.Net? The following code just works fine in VB: Dim lobjSOAP As New MSSOAPLib30.SoapClient30...
  3. #2

    Default Re: SOAP and wdsl

    The message that appears is the response to your click. It says that nothing
    happened, because nothing was provided. The service expects a SOAP message
    from you.

    This is not a WSDL, but actual response. WSDL is a description of a service.

    Try http://<your-URL>.php?wsdl. Should return WSDL.


    Mr Black Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139