The Problem, youre discussion isnt either WSDL, nor SOAP related. To
build a service for freefax, you must have a solution based on your
webserver / isdn / hylafax and so on to automate this part of the
software.
Try to look at the Fax Solutions for Linux and how to send a job to
them. I think, thats the answer to your Question.


On Mon, 2002-02-18 at 14:22, Kumaresan, Karikalan wrote:
> I would like to send the message to the FAX web service (to some providers)
> using WSDL, 
>  
> for example,
>  
> <?xml version='1.0' encoding='UTF-8'?>
>  
> <definitions name="FreeFaxService"
>  
> targetNamespace=" http://www.OneOutBox.com/wsdl/FreeFaxService.wsdl
> <http://www.OneOutBox.com/wsdl/FreeFaxService.wsdl> "
>     xmlns:tns=" http://www.OneOutBox.com/wsdl/FreeFaxService.wsdl
> <http://www.OneOutBox.com/wsdl/FreeFaxService.wsdl> "
>     xmlns:xsd=" http://www.w3.org/2001/XMLSchema
> <http://www.w3.org/2001/XMLSchema> "
>     xmlns:soap=" http://schemas.xmlsoap.org/wsdl/soap/
> <http://schemas.xmlsoap.org/wsdl/soap/> "
>     xmlns=" http://schemas.xmlsoap.org/wsdl/
> <http://schemas.xmlsoap.org/wsdl/> ">
>  
>  <documentation>Further details at  <http://www.OneOutBox.com>
> www.OneOutBox.com</documentation>
>  
>  <message name="freeFaxRequest">
>   <part name="Sender" type="xsd:string">[EMAIL PROTECTED]
>   <documentation>Your email address, so that delivery notifices
>   can be forwarded to your attention.
>   Not used for other purposes.
>   </documentation></part>
>  
>   <part name="ToNum" type="xsd:string">4989927925620
>   <documentation>The international dialing code of the recipient
>   FAX machine.  e.g. USA dial 1+areacode+number.
>   Non-numerics within the string are ignored.
>   </documentation></part>
>  
>   <part name="Name" type="xsd:string">Karikalan
>   <documentation>Delivery information at the destination, such as
>   name and mailstop.  May include spaces (or _) and RETURN (or /)
>   </documentation></part>
>  
>   <part name="Text" type="xsd:string">Test from Web service
>   <documentation>The contents of the FAX to be delivered.  Will
>   be formatted roughly 80 characters wide on the page.  No limit.
>   </documentation></part>
>  
>  </message>
>  
>  <message name="freeFaxResponse">
>   <part name="return" type="xsd:string">
>   <documentation>The return code is a tracking number.
>   Not used within the Free FAX service, but available for
>   tracking purposes in the commercial ProFAX.
>   </documentation></part>
>  </message>
>  
>  <portType name="FreeFaxPortType">
>   <operation name="SendFreeFAX">
>    <input message="tns:freeFaxRequest"/>
>    <output message="tns:freeFaxResponse"/>
>   </operation>
>  </portType>
>  
>  <binding name="FreeFaxBinding" type="tns:FreeFaxPortType">
>   <soap:binding style="rpc" transport="
> http://schemas.xmlsoap.org/soap/http"/
> <http://schemas.xmlsoap.org/soap/http> >
>   <operation name="SendFreeFAX">
>    <soap:operation soapAction="urn:OneOutBox#SendFreeFAX"/>
>    <input>
>     <soap:body use="encoded" namespace="urn:OneOutBox" 
> encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/"/
> <http://schemas.xmlsoap.org/soap/encoding/> >
>    </input>
>    <output>
>     <soap:body use="encoded" namespace="urn:OneOutBox" 
> encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/"/
> <http://schemas.xmlsoap.org/soap/encoding/> >
>    </output>
>   </operation>
>  </binding>
>  
>  <service name="FreeFaxService">
>   <documentation>Provides a Web Services interface to free worldwide FAX
> transmission service, provided by 
> 1outbox (  <http://www.1outbox.com).> www.1outbox.com).</documentation>
>   <port name="FreeFaxPort" binding="tns:FreeFaxBinding">
>    <soap:address location="
> http://www.OneOutBox.com:80/cgi-bin/soap/outbox.cgi"/
> <http://www.OneOutBox.com:80/cgi-bin/soap/outbox.cgi> >
>   </port>
>  </service>
> </definitions>
>  
> like above....
>  
> How can I make the request to the Web Service using the above WSDL ?
>  
> regards, 
> Kari...
> 
> -----Original Message-----
> From: Stefan Henke [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 1:39 PM
> To: [EMAIL PROTECTED]
> Subject: AW: FAX / SMS Web Services...
> 
> 
> Do you want to define a soap interface which takes all necessary data
> required for sending (text, receipient and so on) and the message will be
> sent by the service itself?
> What is your problem? Sending the message on the server or creating the soap
> interface for the service?
>  
> Stefan
> 
> -----Ursprüngliche Nachricht-----
> Von: Kumaresan, Karikalan [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 18. Februar 2002 11:16
> An: '[EMAIL PROTECTED]'
> Betreff: FAX / SMS Web Services...
> 
> 
> 
> Hi All, 
> 
> It would be great if somebody provide some assistance to create FAX / SMS
> SOAP web service? Has anyone developed FAX/SMS SOAP web service?
> 
> regards, 
> Kari... 
> 
> -----Original Message----- 
> From: Thomas Börkel [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
> Sent: Monday, February 18, 2002 11:11 AM 
> To: [EMAIL PROTECTED] 
> Subject: RE: Off topic .NET question 
> 
> 
> HI! 
> 
> We do not use an Axis AuthHandler. We have our own transport (our own HTTP
> server), so that's no problem for us. 
> 
> Regards, 
> Thomas 
> 
> > -----Original Message----- 
> > From: Adam.Leggett [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ] 
> > Sent: Montag, 18. Februar 2002 10:54 
> > To: '[EMAIL PROTECTED]' 
> > Subject: RE: Off topic .NET question 
> > 
> > 
> > Thomas, 
> > 
> > Thanks for the feedback. We have the exact same problem i.e 
> > PreAuthenticate=true does not appear to work for us either. 
> > In the meantime on the Java side I have created a version of 
> > my AuthHandler 
> > that parses the SOAP header instead for auth details. At this 
> > point we are 
> > at the stage of trying to create an .NET 'acceptable' WSDL 
> > with the correct 
> > <soap:header> element described in the operation. We are 
> > having some trouble 
> > with this so far. 
> > 
> > Im curious as to how you would make a handler force a 401 to 
> > be returned. 
> > What would be your approach to this? 
> > 
> > Adam 
> > 
> > -----Original Message----- 
> > From: Thomas Börkel [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
> > Sent: Monday, February 18, 2002 9:38 AM 
> > To: [EMAIL PROTECTED] 
> > Subject: RE: Off topic .NET question 
> > 
> > 
> > HI! 
> > 
> > All proxy classes derive from WebClientProtocol in .NET. And 
> > this class has 
> > a property named "PreAuthenticate" which should exactly do 
> > that. But it does 
> > not work here. Maybe it CANNOT work, because how should .NET 
> > know that you 
> > want basic authentication and not, for example, NTLM authentication? 
> > 
> > If you find out how to get this to work, I would be very 
> > interested. If not, 
> > Axis has to return 401 to make it work. 
> > 
> > Regards, 
> > Thomas 
> > 
> > > -----Original Message----- 
> > > From: Adam.Leggett [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ] 
> > > Sent: Freitag, 15. Februar 2002 14:46 
> > > To: '[EMAIL PROTECTED]' 
> > > Subject: RE: Off topic .NET question 
> > > 
> > > 
> > > Thanks thomas, 
> > > 
> > > But im slightly confused here. To authenticate to my AXIS 
> > > service(s) I have 
> > > a handler sitting in the request flow, that returns a SOAP 
> > > Fault in the SOAP 
> > > response if user cannot be authenticated. The AxisFault 
> > > generated in the 
> > > Handler is rethrown as ServletException so a 500 server error 
> > > is returned as 
> > > well. 
> > > 
> > > Can you not force the .NET to send basic auth 1st time 
> > > round..surely u can? 
> > > In my scenario, developers will know at design time that the 
> > > service is 
> > > password protected. 
> > > 
> > > Cheers 
> > > 
> > > Adam 
> > > 
> > > -----Original Message----- 
> > > From: Thomas Börkel [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] 
> > > Sent: Friday, February 15, 2002 1:04 PM 
> > > To: [EMAIL PROTECTED] 
> > > Subject: RE: Off topic .NET question 
> > > 
> > > 
> > > HI! 
> > > 
> > > This (basic HTTP authentication) works here. .NET does not send the 
> > > authorization info with the first attempt, but it sends it with the 
> > > second attempt if the first attempt has been refused with HTTP error 
> > > 401 and the 
> > > correct challenge. It does the second attempt automatically, 
> > > if the first 
> > > one failed correctly. From then on, it sends the 
> > > authorization always at the 
> > > first attempt. This is normal HTTP client behavior AFAIK. 
> > > Your are doing it 
> > > correctly in your example, so it *should* work. 
> > > 
> > > Regards, 
> > > Thomas 
> > > 
> > > > -----Original Message----- 
> > > > From: Adam.Leggett [ mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ] 
> > > > Sent: Freitag, 15. Februar 2002 13:05 
> > > > To: Axis User ([EMAIL PROTECTED]) 
> > > > Subject: Off topic .NET question 
> > > > 
> > > > 
> > > > Currently, I am working to interop with an MS colleague 
> > using .NET 
> > > > client with my AXIS service. I have a handler chain that 
> > uses LDAP 
> > > > to authenticate/authorize access to my deployed service. Works 
> > > > fine with my 
> > > > AXIS client. Trouble is, we cant seem to be able to get .NET 
> > > > to send the 
> > > > required Authorization: Basic pair in the HTTP header. When 
> > > looking at 
> > > > tcpmon it doesn't appear. 
> > > > 
> > > > Heres the c# client code we think should set the basic 
> > auth, but it 
> > > > doesn't. 
> > > > 
> > > >                   ICredentials credentials = new 
> > > > NetworkCredential("username","password","mydomain"); 
> > > >                   serviceInstance.Credentials = credentials; 
> > > >                   
> > > >                   serviceResponse response = 
> > > > serviceInstance.serviceMethod(serviceRequest); 
> > > > 
> > > > I know this is off topic, so any effort in answering this will be 
> > > > even more appreciated here than usual. 
> > > > 
> > > > TIA 
> > > > 
> > > > Adam Leggett 
> > > > UPCO 
> > > > Direct Line: 0113 20 10 631 
> > > > Fax: 0113 20 10 666 
> > > > < http://www.upco.co.uk <http://www.upco.co.uk> > 
> > > > The contents of this email are intended for the named 
> > addressees and 
> > > > may contain confidential and / or privileged material. If 
> > > > received in error, 
> > > > please contact UPCO on +44 (0)113 20 10 600 and then delete 
> > > > the entire email 
> > > > from your system. Unauthorised review, distribution, 
> > > > disclosure or other use 
> > > > of this information could constitute a breach of confidence. Your 
> > > > co-operation in this matter is greatly appreciated. 
> > > > 
> > > > 
> > > > 
> > > 
> > 
> 
-- 
Mit freundlichen Grüßen,

Sascha Kulawik
Mail: [EMAIL PROTECTED]
Tel:  +49 (172) 4318354

Lustige Variablennamen erheitern den Programmierer
Send with Evolution under Debian 3.0 (GNU/Linux 2.4.16-K7)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to