Web-reference problem in .NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jokuvaa1
    New Member
    • Aug 2007
    • 1

    Web-reference problem in .NET

    Hi,

    I'm using .NET Visual Studio 2005 and the language is C#. The web-service that I'm referencing to uses PHP.

    So,

    I'm trying to get information from the interface of the current web-service. I made a web reference from my application, service was found and all the functions were found and so on. However, when I made a function call to the service, it returns InvalidOperatio nException, "There is an error in xml-document".

    Funny thing is, that when I made the reference "by hand" using httpwebrequest and using the same parameters, it works.

    I've already asked this from the guy who made the web service, and he promised to check it out as soon as He has the time.

    Could the problem be some kind of a "incompatibilit y problem" with .NET and PHP? Anybody Bumped into this kind of problem?

    Any ideas?

    Juha
  • RoninZA
    New Member
    • Jul 2007
    • 78

    #2
    Well, form what I've seen, .NET doesn't play very well with web services that aren't .NET.... I think this may be the case, that .NET is not parsing the XML correctly...? Can you paste an example of the SOAP that is returned from the PHP service?

    Comment

    Working...