You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ajith Ranabahu <aj...@gmail.com> on 2006/12/11 22:46:06 UTC

Re: [Axis2] Problem with Axis2 Codegen Wizard.

Hi,
It will be helpful if you can attach your eclipse log file as well (I
guess you are using eclipse codegen wizard) which should be in your
workspace/.metadata directory. It should have a more meaningful
stacktrace.
BTW I don't see any WSDL attachment :)

Ajith

On 12/11/06, Aldo Mamo <al...@gmail.com> wrote:
> Hi,
>
>
> When accessing the Axis2 Codegen Wizard and filling the necessary details,
> together with the location for the WSDL file, I am getting the following
> error when hitting the 'finish' button:
>
> 'An error occurred while completing process
> -java.lang.InterruptedException:java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException'.
>
> Can you hint me on what is the problem please?
>
> I am attaching the WSDL file for your info.
>
>
> Thank you very much for your support
> aldo
>


-- 
Ajith Ranabahu

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


Re: [Axis2] Problem with Axis2 Codegen Wizard.

Posted by Aldo Mamo <al...@gmail.com>.
Oops:).........Sorry for the missing attachement.

I am attaching the log file.  I do not know why the date is 11/02/2006, but
it is the log file which I have just generated.  Also, I am pasting the WSDL
content to this mail, rather than as an attachment.  Thank you very much for
your support.

Best regards,
aldo


!SESSION Sat Feb 11 16:45:50 CET 2006
------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2006-02-11 16:45:50.855
!MESSAGE -showsplash
!STACK
java.io.IOException: CreateProcess: C:\Downloads\aldo\eclipse\eclipse.exe
-name Eclipse -showsplash 600
c:\Downloads\aldo\eclipse\plugins\org.eclipse.platform_3.1.2\splash.bmp
error=193
 at java.lang.Win32Process.create(Native Method)
 at java.lang.Win32Process.<init>(Win32Process.java:63)
 at java.lang.Runtime.execInternal(Native Method)
 at java.lang.Runtime.exec(Runtime.java:566)
 at java.lang.Runtime.exec(Runtime.java:491)
 at java.lang.Runtime.exec(Runtime.java:457)
 at org.eclipse.core.launcher.Main.runCommand(Main.java:1565)
 at org.eclipse.core.launcher.Main.handleSplash(Main.java:1541)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:276)
 at org.eclipse.core.launcher.Main.run(Main.java:973)
 at org.eclipse.core.launcher.Main.main(Main.java:948)

!SESSION Sat Feb 11 17:21:42 CET 2006
------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2006-02-11 17:21:42.980
!MESSAGE -showsplash
!STACK
java.io.IOException: CreateProcess: C:\Downloads\aldo\eclipse\eclipse.exe
-name Eclipse -showsplash 600
c:\Downloads\aldo\eclipse\plugins\org.eclipse.platform_3.1.2\splash.bmp
error=193
 at java.lang.Win32Process.create(Native Method)
 at java.lang.Win32Process.<init>(Win32Process.java:63)
 at java.lang.Runtime.execInternal(Native Method)
 at java.lang.Runtime.exec(Runtime.java:566)
 at java.lang.Runtime.exec(Runtime.java:491)
 at java.lang.Runtime.exec(Runtime.java:457)
 at org.eclipse.core.launcher.Main.runCommand(Main.java:1565)
 at org.eclipse.core.launcher.Main.handleSplash(Main.java:1541)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:276)
 at org.eclipse.core.launcher.Main.run(Main.java:973)
 at org.eclipse.core.launcher.Main.main(Main.java:948)



WSDL Content:

<?xml version="1.0"?>

<!-- WSDL description of the Google Web APIs.

The Google Web APIs are in beta release. All interfaces are subject to

change as we refine and extend our APIs. Please see the terms of use

for more information. -->

<!-- Revision 2002-08-16 -->

<definitions name="GoogleSearch"

targetNamespace="urn:GoogleSearch"

xmlns:typens="urn:GoogleSearch"

xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

xmlns="http://schemas.xmlsoap.org/wsdl/">

<!-- Types for search - result elements, directory categories -->

<types>

<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"

targetNamespace="urn:GoogleSearch">

<xsd:complexType name="GoogleSearchResult">

<xsd:all>

<xsd:element name="documentFiltering" type="xsd:boolean"/>

<xsd:element name="searchComments" type="xsd:string"/>

<xsd:element name="estimatedTotalResultsCount" type="xsd:int"/>

<xsd:element name="estimateIsExact" type="xsd:boolean"/>

<xsd:element name="resultElements" type="typens:ResultElementArray"/>

<xsd:element name="searchQuery" type="xsd:string"/>

<xsd:element name="startIndex" type="xsd:int"/>

<xsd:element name="endIndex" type="xsd:int"/>

<xsd:element name="searchTips" type="xsd:string"/>

<xsd:element name="directoryCategories"
type="typens:DirectoryCategoryArray"/>

<xsd:element name="searchTime" type="xsd:double"/>

</xsd:all>

</xsd:complexType>

<xsd:complexType name="ResultElement">

<xsd:all>

<xsd:element name="summary" type="xsd:string"/>

<xsd:element name="URL" type="xsd:string"/>

<xsd:element name="snippet" type="xsd:string"/>

<xsd:element name="title" type="xsd:string"/>

<xsd:element name="cachedSize" type="xsd:string"/>

<xsd:element name="relatedInformationPresent" type="xsd:boolean"/>

<xsd:element name="hostName" type="xsd:string"/>

<xsd:element name="directoryCategory" type="typens:DirectoryCategory"/>

<xsd:element name="directoryTitle" type="xsd:string"/>

</xsd:all>

</xsd:complexType>

<xsd:complexType name="ResultElementArray">

<xsd:complexContent>

<xsd:restriction base="soapenc:Array">

<xsd:attribute ref="soapenc:arrayType"
wsdl:arrayType="typens:ResultElement[]"/>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<xsd:complexType name="DirectoryCategoryArray">

<xsd:complexContent>

<xsd:restriction base="soapenc:Array">

<xsd:attribute ref="soapenc:arrayType"
wsdl:arrayType="typens:DirectoryCategory[]"/>

</xsd:restriction>

</xsd:complexContent>

</xsd:complexType>

<xsd:complexType name="DirectoryCategory">

<xsd:all>

<xsd:element name="fullViewableName" type="xsd:string"/>

<xsd:element name="specialEncoding" type="xsd:string"/>

</xsd:all>

</xsd:complexType>

</xsd:schema>

</types>

<!-- Messages for Google Web APIs - cached page, search, spelling. -->

<message name="doGetCachedPage">

<part name="key" type="xsd:string"/>

<part name="url" type="xsd:string"/>

</message>

<message name="doGetCachedPageResponse">

<part name="return" type="xsd:base64Binary"/>

</message>

<message name="doSpellingSuggestion">

<part name="key" type="xsd:string"/>

<part name="phrase" type="xsd:string"/>

</message>

<message name="doSpellingSuggestionResponse">

<part name="return" type="xsd:string"/>

</message>

<!-- note, ie and oe are ignored by server; all traffic is UTF-8. -->

<message name="doGoogleSearch">

<part name="key" type="xsd:string"/>

<part name="q" type="xsd:string"/>

<part name="start" type="xsd:int"/>

<part name="maxResults" type="xsd:int"/>

<part name="filter" type="xsd:boolean"/>

<part name="restrict" type="xsd:string"/>

<part name="safeSearch" type="xsd:boolean"/>

<part name="lr" type="xsd:string"/>

<part name="ie" type="xsd:string"/>

<part name="oe" type="xsd:string"/>

</message>

<message name="doGoogleSearchResponse">

<part name="return" type="typens:GoogleSearchResult"/>

</message>

<!-- Port for Google Web APIs, "GoogleSearch" -->

<portType name="GoogleSearchPort">

<operation name="doGetCachedPage">

<input message="typens:doGetCachedPage"/>

<output message="typens:doGetCachedPageResponse"/>

</operation>

<operation name="doSpellingSuggestion">

<input message="typens:doSpellingSuggestion"/>

<output message="typens:doSpellingSuggestionResponse"/>

</operation>

<operation name="doGoogleSearch">

<input message="typens:doGoogleSearch"/>

<output message="typens:doGoogleSearchResponse"/>

</operation>

</portType>



<!-- Binding for Google Web APIs - RPC, SOAP over HTTP -->

<binding name="GoogleSearchBinding" type="typens:GoogleSearchPort">

<soap:binding style="rpc"

transport="http://schemas.xmlsoap.org/soap/http"/>

<operation name="doGetCachedPage">

<soap:operation soapAction="urn:GoogleSearchAction"/>

<input>

<soap:body use="encoded"

namespace="urn:GoogleSearch"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

</input>

<output>

<soap:body use="encoded"

namespace="urn:GoogleSearch"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

</output>

</operation>

<operation name="doSpellingSuggestion">

<soap:operation soapAction="urn:GoogleSearchAction"/>

<input>

<soap:body use="encoded"

namespace="urn:GoogleSearch"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

</input>

<output>

<soap:body use="encoded"

namespace="urn:GoogleSearch"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

</output>

</operation>

<operation name="doGoogleSearch">

<soap:operation soapAction="urn:GoogleSearchAction"/>

<input>

<soap:body use="encoded"

namespace="urn:GoogleSearch"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

</input>

<output>

<soap:body use="encoded"

namespace="urn:GoogleSearch"

encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

</output>

</operation>

</binding>

<!-- Endpoint for Google Web APIs -->

<service name="GoogleSearchService">

<port name="GoogleSearchPort" binding="typens:GoogleSearchBinding">

<soap:address location="http://api.google.com/search/beta2"/>

</port>

</service>

</definitions>



On 12/11/06, Ajith Ranabahu <aj...@gmail.com> wrote:
>
> Hi,
> It will be helpful if you can attach your eclipse log file as well (I
> guess you are using eclipse codegen wizard) which should be in your
> workspace/.metadata directory. It should have a more meaningful
> stacktrace.
> BTW I don't see any WSDL attachment :)
>
> Ajith
>
> On 12/11/06, Aldo Mamo <al...@gmail.com> wrote:
> > Hi,
> >
> >
> > When accessing the Axis2 Codegen Wizard and filling the necessary
> details,
> > together with the location for the WSDL file, I am getting the following
> > error when hitting the 'finish' button:
> >
> > 'An error occurred while completing process
> > -java.lang.InterruptedException:java.lang.RuntimeException:
> > java.lang.reflect.InvocationTargetException'.
> >
> > Can you hint me on what is the problem please?
> >
> > I am attaching the WSDL file for your info.
> >
> >
> > Thank you very much for your support
> > aldo
> >
>
>
> --
> Ajith Ranabahu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>