10717-12 Web Services
10717-12 Web Services
Introduction
12.4. Attacks
<?xml version="1.0"?>
<methodCall>
<methodName>My.Method</methodName>
Payload format. It is XML and
<params> must contain <methodCall> with
<param>
<value>www.google.com</value> the <methodName> sub-item.
</param> Other required items can be
</params>
</methodCall> found here.
Web Application Penetration Testing 2.0 - eLearnSecurity © 2015
JSON-RPC is very similar to XML-RPC however, it provides
more human-readable messages and takes less space to send
the same message XML-RPC sends.
The message sent to invoke a method is a request with a
single object serialized using JSON. It has three properties:
• method: name of the method to invoke
• params: array of objects to pass as arguments
• id: request ID used to match the responses/requests
<types>..</types>
<types>..</types>
Abstract <message>..</message>
description <interface>..</ interface>
<portType>..</ portType>
<wsdl:portType name="HelloServicePortType">
<wsdl:operation name="sayHello">
<wsdl:input message="ns:sayHelloRequest"/>
<wsdl:output message="ns:sayHelloResponse“/>
</wsdl:operation>
</wsdl:portType>
<wsdl:message name="sayHelloRequest">
<wsdl:part name="name" element="ns:sayHello"/>
</wsdl:message>
<xs:element name="sayHello">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="surname" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
SOAP WSDL
DISCO UDDI
SOAPClient XMethod