The way i am doing it is in the "generated" client class, in the create method, 
i change the default binding from soap11 to soap12. I am not sure how and why 
but the code generated generated the code with 11 binding which i had to 
explicitly modify. 

 AbstractSoapBinding soapBinding = asf.createSoap12Binding(service0, 
                                            new QName(nameSpaceURI, 
"EpasSoapServiceBinding"),
                                            
"http://schemas.xmlsoap.org/soap/http";);

Maxime Orain <[EMAIL PROTECTED]> wrote:        v\:* 
{behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* 
{behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}           
Excuse how do you set SOAP 1.2 in XFire?
   
      
---------------------------------
  
  From: timczerniak [mailto:[EMAIL PROTECTED] 
 Sent: 25 June 2007 18:24
 To: [email protected]
 Subject: [xfire-user] Can the Client use SOAP 1.2 with WSDL?
  
   
  Hello, I am trying to create a dynamic client that uses WSDL and SOAP 1.2. Is 
this possible? I have looked through all of the constructors for Client and 
can't seem to find anything useful. There seems to be only one constructor 
which takes a WSDL URL. Am I missing something? This is my code: 
  
 

Client client = new Client(new URL(wsdURL)); // constructor which takes a WSDL 
URL

Object[] results = client.invoke("mySOAPFunction", new Object[] {});

System.out.println((Double) results[0]);
  Any help would be appreciated, Thanks. 
    
---------------------------------
  
  View this message in context: Can the Client use SOAP 1.2 with WSDL?
 Sent from the XFire - User mailing list archive at Nabble.com.
  
  
 This email was sent to you by Reuters, the global news and information company.
 To find out more about Reuters visit www.about.reuters.com  Any views 
expressed in this message are those of the individual sender,  except where the 
sender specifically states them to be the views of Reuters Limited. 
 Reuters Limited is part of the Reuters Group of companies, of which Reuters 
Group PLC is the ultimate parent company. Reuters Group PLC - Registered office 
address: The Reuters Building, South Colonnade, Canary Wharf, London E14 5EP, 
United Kingdom
 Registered No: 3296375
 Registered in England and Wales 

Reply via email to