Jeff Walkers note from yesterday where he explained all of the styles
(binding of RPC/document and use of encoded or literal)
to quote Microsoft supports ONLY the doc/lit/wrapped style but dont use this
for overloaded methods
an example of which is

<types>
    <schema>
        <element name="myMethod">
            <complexType>
                <sequence>
                    <element name="x" type="xsd:int"/>
                    <element name="y" type="xsd:float"/>
                </sequence>
            </complexType>
        </element>
        <element name="myMethodResponse">
            <complexType/>
        </element>
    </schema>
</types>
<message name="myMethodRequest">
    <part name="parameters" element="myMethod"/>
</message>
<message name="empty">
    <part name="parameters" element="myMethodResponse"/>
</message>
<portType name="PT">
    <operation name="myMethod">
        <input message="myMethodRequest"/>
        <output message="empty"/>
    </operation>
</portType>

Here is the a very good tutorial from Jeff's email (located on IBM
developerworks)
http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/

Martin--
----- Original Message -----
From: "foo shyn" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, October 16, 2007 10:55 PM
Subject: Re: Axis 1.4 - (405) Method Not Allowed


> Hi,
>
> Ya i asked and they told me that they don't see any log there, thus i
> only can rely on the information i get from my own log.
>
> Headache.
>
> Thanx
> FooShyn
>
> M N wrote:
> > can u ask the other party if they see any error traces in their log?
> >
> > */foo shyn <[EMAIL PROTECTED]>/* wrote:
> >
> >     Hi guys,
> >
> >     I'm new to the list, so pardon me if my question sounds dumb.
> >
> >     I'm trying to connect to a third party web services (which is
> >     developed
> >     using microsoft tools) and i had used Axis 1.4 components to
> >     create my
> >     client. I got the stub generated and run it in my own servlet.
> >     However
> >     when i try to call the web services i got a "(405)Method Not
Allowed"
> >     error from the web.
> >
> >     I'm thinking of the possibility of the method that i use is not
> >     allow.
> >     Since Axis is defaulted to process its request in Post method, i'm
> >     not
> >     sure whether i can alter that. Does anyone have any idea on how to
> >     do this?
> >
> >     Here's a portion of my debug log from Axis:
> >
> >     16 Oct 2007 20:01:17,859 %- HTTP/1.1 405 Method not allowed
> >     16 Oct 2007 20:01:17,859 %- Server Microsoft-IIS/5.0
> >     16 Oct 2007 20:01:17,859 %- Date Tue, 16 Oct 2007 12:21:32 GMT
> >     16 Oct 2007 20:01:17,875 %- Allow OPTIONS, TRACE, GET, HEAD
> >     16 Oct 2007 20:01:17,875 %- Content-Length 3923
> >     16 Oct 2007 20:01:17,875 %- Content-Type text/html
> >     16 Oct 2007 20:01:17,890 %-
> >     org.apache.axis.i18n.resource::handleGetObject(return01)
> >     16 Oct 2007 20:01:17,890 %- (405)Method not allowed
> >     16 Oct 2007 20:01:17,906 %- Enter: SOAPPart ctor(FORM_FAULT)
> >     16 Oct 2007 20:01:17,906 %-
> >     org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
> >     16 Oct 2007 20:01:17,906 %- Setting current message form to:
> >     FORM_FAULT
> >     (currentMessage is now org.apache.axis.AxisFault)
> >     16 Oct 2007 20:01:17,906 %- Exit: SOAPPart ctor()
> >     16 Oct 2007 20:01:17,906 %-
> >     org.apache.axis.i18n.resource::handleGetObject(toAxisFault00)
> >     16 Oct 2007 20:01:17,906 %- NSPush (32)
> >     16 Oct 2007 20:01:17,921 %-
> >     org.apache.axis.i18n.resource::handleGetObject(empty00)
> >     16 Oct 2007 20:01:17,921 %- NSPop (empty)
> >     16 Oct 2007 20:01:17,921 %- NSPush (32)
> >     16 Oct 2007 20:01:17,937 %-
> >     org.apache.axis.i18n.resource::handleGetObject(empty00)
> >     16 Oct 2007 20:01:17,937 %- NSPop (empty)
> >     16 Oct 2007 20:01:17,906 %- Mapping Exception to AxisFault
> >
> >     Any suggestion or idea are welcome.
> >
> >     Thanx
> >     FooShyn
> >
> >
>
  ---------------------------------------------------------------------
> >     To unsubscribe, e-mail: [EMAIL PROTECTED]
> >     For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ------------------------------------------------------------------------
> > Pinpoint customers
> >
<http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/spon
soredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50>who
> > are looking for what you sell.
> > ------------------------------------------------------------------------
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.488 / Virus Database: 269.14.13/1074 - Release Date:
10/16/2007 2:14 PM
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to