Ask a Question related to ASP.NET Web Services, Design and Development.
-
Sasa . #1
Soap without WSDL
Hi,
I am relatively new to SOAP and trying to connect to a web service of a
partner company.
So far I have failed in the attempts as I have no WSDL file available for
web service (and due to some compatibility issues they can not produce
WSDL).
I have got examples in PHP that are working without WSDL, but I do not know
how to get the same functionality in either ASP or ASP.NET.
In php it looks something like this:
<?php
require_once "SOAP/Client.php";
$soapclient = new SOAP_Client("https://CompanySoapServer/service.php ");
$options = array('namespace' => 'urn:SOAP_CompanyNamespace',
'curl' => array(CURLOPT_SSL_VERIFYPEER => 0,
CURLOPT_TIMEOUT => 0,
CURLOPT_SSLCERT => $sslcert,
CURLOPT_SSLCERTPASSWD => $sslpass),
'trace' => 0);
$var->param1=$param1;
$var->param2=$param2;
$p = array(new SOAP_Value('var','',$var));
$ret = $soapclient->call("CompanyWebMethod",$p,$options);
?>
Any suggestions how to do solve this problem?
Thanks,
Sasa .
Sasa . Guest
-
SOAP::Lite and .wsdl files
Hi, I'm struggling with SOAP::Lite and using .wsdl files. Given the configuration shown below, what should be in these sections of the .wsdl... -
Using SOAP without WSDL?
Newbie to SOAP and Flex and I have a small pilot project to access a company's SOAP 1.1 web services. I am given the sample SOAP request/response... -
Is wsdl is enough for soap?
Hi, AIM:I WANT TO IMPLEMENT SOAP IN MY webservice & client. I did: I ve a simple web service that simply returns a dataset.After reading... -
soap:fault in WSDL
Hi all, I'm trying to modify the wsdl automatically genereated by ASP.NET, to include fault tag under operation and binding tags. All worked... -
Newbie, got the wsdl soap, now what??
I wrote a webservice, then I called the WSDL file, and it says the code below is the request, but there are no instructions on how to use it. What... -
Tomas Restrepo \(MVP\) #2
Re: Soap without WSDL
Sasa,
know> I am relatively new to SOAP and trying to connect to a web service of a
> partner company.
> So far I have failed in the attempts as I have no WSDL file available for
> web service (and due to some compatibility issues they can not produce
> WSDL).
>
> I have got examples in PHP that are working without WSDL, but I do notI have no clue about PHP, so I can't tell you what it does.... however, the> how to get the same functionality in either ASP or ASP.NET.
>
> In php it looks something like this:
>
> <?php
> require_once "SOAP/Client.php";
> $soapclient = new SOAP_Client("https://CompanySoapServer/service.php ");
>
> $options = array('namespace' => 'urn:SOAP_CompanyNamespace',
> 'curl' => array(CURLOPT_SSL_VERIFYPEER => 0,
> CURLOPT_TIMEOUT => 0,
> CURLOPT_SSLCERT => $sslcert,
> CURLOPT_SSLCERTPASSWD => $sslpass),
> 'trace' => 0);
>
> $var->param1=$param1;
> $var->param2=$param2;
> $p = array(new SOAP_Value('var','',$var));
> $ret = $soapclient->call("CompanyWebMethod",$p,$options);
> ?>
>
> Any suggestions how to do solve this problem?
way I'd probably approach this would be to try first and see whats going on
over the network between the existing client and server (say by using a tool
such as Simon Fell's TcpTrace [1]). With that, you could figure out a lot
and maybe either manually create the messages in XML and send them using
HttpWebRequest, or create your own WSDL describing the service and then
using wsdl.exe to generate a proxy class from there.
--
Tomas Restrepo
[email]tomasr@mvps.org[/email]
Tomas Restrepo \(MVP\) Guest



Reply With Quote

