This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'savon' | |
require 'pp' | |
url = "http://www.xignite.com/xFinancials.asmx?WSDL" | |
client = Savon::Client.new(url) | |
response = client.request :get_other_ratios do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Axis2 does not handle .NET's WSDL serialized of enums very much. | |
AdjustmentMethods adj = AdjustmentMethods.Factory.create(); | |
AdjustmentMethods_type0[] adjInnerTypes = new AdjustmentMethods_type0[1]; | |
adjInnerTypes[0] = AdjustmentMethods_type0.Factory.fromString(AdjustmentMethods_type0._SplitOnly, SERVICE_URI); | |
adj.setAdjustmentMethods_type0(adjInnerTypes); | |
getQuotesArguments.setAdjustmentMethod(adj); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.xignite.www.services.XigniteGlobalHistoricalXigniteGlobalHistoricalSoapStub; | |
import com.xignite.www.services.XigniteGlobalHistoricalXigniteGlobalHistoricalSoapStub.GetGlobalHistoricalQuotesRangeResponse; | |
import com.xignite.www.services.XigniteGlobalHistoricalXigniteGlobalHistoricalSoapStub.*; | |
import javax.xml.stream.util.*; | |
import org.apache.axis2.addressing.*; | |
import java.util.*; | |
public class Axis2Test { | |
private XigniteGlobalHistoricalXigniteGlobalHistoricalSoapStub stub; |