axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: [Axis] Problems with WSDL2Java creation process
Date Tue, 07 Nov 2006 10:45:44 GMT
Hi Marco ;

Can you please create JIRA attaching the wsdl.

Thanks
Deepal

>
>I tried to use the WSDL2Java Tool to create Java Code from a Microsoft
>CRM 3.0 WSDL. This generates following error that don't helps me much
>because I use a local version of the wsdl file:
>
>WSDL2Java.bat crmservice.wsdl
>java.io.IOException: WSDL2Java emitter timed out (this often means the
>WSDL at the specified URL is inaccessible)!
>at org.apache.axis.wsdl.gen.Parser.run(Parser.java:320)
>at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:599)
>at org.apache.axis.wsdl.gen.WSDL2.run(WSDL2.java:343)
>at org.apache.axis.wsdl.WSDL2Java.main(WSDL2Java.java:373)
>
>My .bat file looks like following and simply provides the bindings that
>are needed to use the WSDL2Java Tool. The only special thing in here
>that I'm trying to use the jvm that is provided by Lotus Domino/Notes 7.02:
>
>@echo OFF
>rem *******************************************************
>rem *** WSDL2Java.bat ****
>rem *******************************************************
>set AXISPATH=C:\axis-1_4\lib
>set JAVAPATH=C:\Programme\Java\jre1.5.0_06
>set DOMINOJAVAPATH=C:\Lotus\Notes7\Prg\jvm\lib\ext
>set CP=%AXISPATH%\axis.jar
>set CP=%CP%;%AXISPATH%\commons-logging-1.0.4.jar
>set CP=%CP%;%AXISPATH%\commons-discovery-0.2.jar
>set CP=%CP%;%AXISPATH%\jaxrpc.jar
>set CP=%CP%;%AXISPATH%\saaj.jar
>set CP=%CP%;%DOMINOJAVAPATH%\mail.jar
>set CP=%CP%;%DOMINOJAVAPATH%\activation.jar
>set CP=%CP%;%AXISPATH%\wsdl4j-1.5.1.jar
>%JAVAPATH%\bin\java -cp %CP% org.apache.axis.wsdl.WSDL2Java %1
>
>Should this make a problem, better to use a normal jvm for creation and
>just switch to the Domino/Notes one where the code should run later on?
>
>Or could it be that something in this wsdl file makes problems or isn't
>compatible with Axis 1.4:
>
><?xml version="1.0" encoding="UTF-8"?>
><wsdl:definitions xmlns:s1="http://microsoft.com/wsdl/types/"
>xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
>xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>xmlns:s="http://www.w3.org/2001/XMLSchema"
>xmlns:s3="http://schemas.microsoft.com/crm/2006/Query"
>xmlns:s2="http://schemas.microsoft.com/crm/2006/CoreTypes"
>xmlns:s4="http://schemas.microsoft.com/crm/2006/Scheduling"
>xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>xmlns:tns="http://schemas.microsoft.com/crm/2006/WebServices"
>xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
>xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
>targetNamespace="http://schemas.microsoft.com/crm/2006/WebServices"
>xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
>
>If you need more of the wsdl file to tell if there could be
>incompatibilities with Axis 1.4 please tell me. If there is a problem
>with that could I get this to work with Axis2?
>
>
>Greets & Thanks in advance for your help and suggestions,
>
>Marco Schimmelpfennig
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message