Solved

Help with SOAP client creation

Posted on 2010-09-07
4
663 Views
Last Modified: 2013-11-18
Hey everyone,

I need help creating a form that, when submitted, will populate and send a SOAP message to an Apache Axis server (already up and functioning, tested with SoapUI).  I would like a way to dynamically generate these forms from the WSDL file, as I have multiple methods that I need to create.  I'm open to any ideas, and I have read alot already, but I have very limited Javascript and C# experience so I am having a little trouble.  I already have the SOAP messages constructed and they actually do their required function when sent through SoapUI.

On a time constraint so whatever you got I would much appreciate.
0
Comment
Question by:djnubb
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
RQuadling earned 500 total points
Comment Utility
I don't know C#. SOAP and PHP, yes.

I use a wsdl2php script which takes a WSDL file and creates nice and simple PHP classes for me to use.

I know you can do similar in Java and as part of Visual Studio.

This means you don't need to manually construct XML files and the like. All the SOAP comms is handled by the classes that the wsdl2xxxx tool creates.

The most significant difference is that you use the new classes and completely forget about SOAP/XML/WSDL.

Here are some examples - not a lot of use maybe as it is all PHP, but once you've got the WSDL2c# tool working (don't know the name - sorry) you should be able to make a LOT of headway!

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_26404936.html#33532849
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/SOAP/Q_26416747.html#33523685
0
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
You may read the WSDL file with an Ajax call and dynamically build the form on the client side
You build your soap message from the form and send it with a Javascript Soap client : http://www.guru4.net/articoli/javascript-soap-client/en/
0
 
LVL 2

Author Closing Comment

by:djnubb
Comment Utility
I chose this answer because it allowed for server-side processing, which is more secure.
0
 
LVL 40

Expert Comment

by:RQuadling
Comment Utility
Glad to have helped.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now