cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for SOAP examples

fergunet
Champ in-the-making
Champ in-the-making
Hi all! I'm using the webservice client to communicate with alfresco without problems, but I would like to study the SOAP messages that I sent to the server to explain them in some courses I'm teaching.

Any program to fetch the messages or a website to find some examples? I've been looking for in this forum and googling but I can't anything useful.
2 REPLIES 2

jbarmash
Champ in-the-making
Champ in-the-making
Well, the Java SDK abstracts the SOAP from you.   Of course, behind the scenes it's just HTTP. 

You can use the SDK Sample - FirstWebServiceClient to generate some messages, and then use a sniffer to pull out the messages. 

You can also get use a generic SOAP client (for example, in Visual Studio) and to send some messages to Alfresco and pull examine results.

The SOAP API can be found at:
  http://localhost:8080/alfresco/api

Just for reference, this is the link to the Wiki page on SOAP.
http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services

rwetherall
Confirmed Champ
Confirmed Champ
HI,

If I need to trace the requests and responses when developing the web service API I use TCPMon tool provided in the Axis jar.

To start it run something like the following, ensuring the path is adjusted to your environment …


java -cp D:\work\HEAD\root\projects\3rd-party\lib\axis-1.4.jar org.apache.axis.utils.tcpmon 8090 localhost 8080

Then point your client to the port 8090 (rather than the usual 8080) and hey presto you'll see the requests and responses as they fly past.

Have fun!
Roy