.Net Client gets null while calling Axis 1.2 web services

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lilly

    .Net Client gets null while calling Axis 1.2 web services

    I was testing a very simple web services written in Axis (1.2RC2) with
    just a single method, returning a string "test". The method doesn't
    need any parameters. when I tested it using .Net client, it returns
    null. Could anyone please tell me what could ne wrong? I've beening
    fighting this problem for days now, but still no luck..

    Could anyone tell me what could be wrong? Where can I find sample code
    for Axis/.Net combination?

    Thanks.

    Lilly
  • Dino Chiesa [Microsoft]

    #2
    Re: .Net Client gets null while calling Axis 1.2 web services

    See the fairly recent Blog post here:


    And a working sample that demonstrates .NET-to-AXIS interop here:


    The working example uses AXIS v1.1, not 1.2.rcXXX.
    It is more complex than you asked for - it does arrays and structures
    (complex types).
    Source code is available.

    -Dino

    --
    Dino Chiesa
    Microsoft Developer Division
    d i n o c h @ OmitThis . m i c r o s o f t . c o m



    "Lilly" <lilly.wang@gma il.com> wrote in message
    news:190a6406.0 502102006.7dcc4 477@posting.goo gle.com...[color=blue]
    >I was testing a very simple web services written in Axis (1.2RC2) with
    > just a single method, returning a string "test". The method doesn't
    > need any parameters. when I tested it using .Net client, it returns
    > null. Could anyone please tell me what could ne wrong? I've beening
    > fighting this problem for days now, but still no luck..
    >
    > Could anyone tell me what could be wrong? Where can I find sample code
    > for Axis/.Net combination?
    >
    > Thanks.
    >
    > Lilly[/color]


    Comment

    • lilly  wang

      #3
      Re: .Net Client gets null while calling Axis 1.2 web services

      Hi Dino,

      Thanks for your reply. I'll take a look of the example.

      I did figure it out in a way. Axis encodes the response in a way that
      ..Net doesn't understand.

      Lilly

      Comment

      • lilly  wang

        #4
        Re: .Net Client gets null while calling Axis 1.2 web services

        Hi Dino,

        Thanks for your reply. I'll take a look of the example.

        I did figure it out in a way. Axis encodes the response in a way that
        ..Net doesn't understand.

        Lilly

        Comment

        Working...