axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jawwad ahmed <jawwad_j...@yahoo.com>
Subject Soap exception while accessing currencyconverter webservice
Date Fri, 18 Oct 2002 06:31:39 GMT
Hi gurus;
Well i was trying to recieve webservice which is
available at
http://www.webservicex.net/CurrencyConvertor.asmx?wsdl

But i can't access it.The follwwing exception comes
when consuming this service.

G:\tomcat\webapps\axis\WEB-INF\classes>java
NET.webserviceX.www.Tester

///////////////////////////////////////////////////////
Exception
isSystem.Web.Services.Protocols.SoapException: Server
was unable to pr
ocess request. ---> System.IO.FileNotFoundException:
File or assembly name jfx1u
bjb.dll, or one of its dependencies, was not found.
File name: "jfx1ubjb.dll"
   at System.Reflection.Assembly.nLoad(AssemblyName
fileName, String codeBase, B
oolean isStringized, Evidence assemblySecurity,
Boolean throwOnFileNotFound, Ass
embly locationHint, StackCrawlMark& stackMark)
   at
System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark&
stackMark)
   at System.Reflection.Assembly.Load(AssemblyName
assemblyRef)
   at
System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
   at System.Xml.Serialization.Compiler.Compile()
   at
System.Xml.Serialization.TempAssembly..ctor(XmlMapping[]
xmlMappings)
   at
System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[]
mappings)

   at
System.Web.Services.Protocols.SoapServerType..ctor(Type
type)
   at
System.Web.Services.Protocols.SoapServerProtocol.Initialize()
   at
System.Web.Services.Protocols.ServerProtocolFactory.Create(Type
type, Http
Context context, HttpRequest request, HttpResponse
response, Boolean& abortProce
ssing)

Fusion log follows:
=== Pre-bind state information ===
LOG: Where-ref bind. Location =
C:\WINNT\TEMP\jfx1ubjb.dll
LOG: Appbase =
file:///d:/inetpub/webservice.hostinguk.com
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this
time (private, custom, partia
l, or location-based assembly bind).
LOG: Attempting download of new URL
file:///C:/WINNT/TEMP/jfx1ubjb.dll.

   --- End of inner exception stack trace ---

//////////////////////////////////////////////////////

My source file of Tester is:
package NET.webserviceX.www;
public class Tester
{
    public static void main(String [] args)  {
try{
	CurrencyConvertor service = new
CurrencyConvertorLocator();
	CurrencyConvertorSoap port =
service.getCurrencyConvertorSoap();

	Currency curr1 = new Currency("AFA");
	Currency curr2 = new Currency("DZD");

	System.out.println("After Converting
Rate"+port.conversionRate(curr1,curr2));

}catch(Exception e){
System.out.println("Exception is"+e);
}
   }
}
////////////////////////////////////////////////////

Will be very thankful for any kind of help
Thanks
Jawwad Ahmed





__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

Mime
View raw message