Problem compiling GeoIP example

View: New views
4 Messages — Rating Filter:   Alert me  

Problem compiling GeoIP example

by gobe hobona-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

I have a problem and hope somebody may help.

When running the command:  bpelc -wsdl file:GeoIp.wsdl file:GeoIp.bpel

I get the following errors:

file:GeoIp.bpel:32: error: [UndeclaredOperation] The operation "GetGeoIP" is not
 declared on portType "{http://www.webservicex.net}GeoIPServiceSoap".
file:GeoIp.bpel:39: error: [UndeclaredOperation] The operation "GetGeoIP" is not
 declared on portType "{http://www.webservicex.net}GeoIPServiceSoap".
file:GeoIp.bpel:45: error: [UndeclaredOperation] The operation "GetGeoIP" is not
 declared on portType "{http://www.webservicex.net}GeoIPServiceSoap".
bpelc: error: [CompilationErrors] Compilation completed with 3 error(s).


I have confirmed that the operation GetGeoIP is in http://www.webservicex.net/geoipservice.asmx?WSDL

It's as if the BPEL is not recognising the accompanying WSDL.

Any help is highly appreciated.

GEH




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pxe-user mailing list
pxe-user@...
https://lists.sourceforge.net/lists/listinfo/pxe-user

Re: Problem compiling GeoIP example

by Alex Boisvert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Which version of PXE are you using?  I just tried the same command with
the latest PXE 1.0.169 and it worked.

You can download PXE 1.0.169 from
http://pxe.intalio.org/public/maven2/pxe/standalone-distro/1.0.169/standalone-distro-1.0.169.tar.gz

BTW, you can also try using "ant" which builds a complete system archive
(.sar) file for you, ready for deployment.

alex


gobe hobona wrote:

> Hello
>
> I have a problem and hope somebody may help.
>
> When running the command:  bpelc -wsdl file:GeoIp.wsdl file:GeoIp.bpel
>
> I get the following errors:
>
> file:GeoIp.bpel:32: error: [UndeclaredOperation] The operation "GetGeoIP" is not
>  declared on portType "{http://www.webservicex.net}GeoIPServiceSoap".
> file:GeoIp.bpel:39: error: [UndeclaredOperation] The operation "GetGeoIP" is not
>  declared on portType "{http://www.webservicex.net}GeoIPServiceSoap".
> file:GeoIp.bpel:45: error: [UndeclaredOperation] The operation "GetGeoIP" is not
>  declared on portType "{http://www.webservicex.net}GeoIPServiceSoap".
> bpelc: error: [CompilationErrors] Compilation completed with 3 error(s).
>
>
> I have confirmed that the operation GetGeoIP is in http://www.webservicex.net/geoipservice.asmx?WSDL
>
> It's as if the BPEL is not recognising the accompanying WSDL.
>
> Any help is highly appreciated.
>
> GEH
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> pxe-user mailing list
> pxe-user@...
> https://lists.sourceforge.net/lists/listinfo/pxe-user
>
>  


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pxe-user mailing list
pxe-user@...
https://lists.sourceforge.net/lists/listinfo/pxe-user

Parent Message unknown Re: Problem compiling GeoIP example

by Alex Boisvert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Do you require a proxy to access the internet by any chance?

alex

gobe hobona wrote:
Hi and thanks for the quick response.

Initially I had built PXE from the  pxe-src-r812.zip    source code.

It built fine and I even successfully compiled and deployed the HelloWorld example. Upon your earlier advice, I have now also tried the binaries from standalone-distro-1.0.169.tar.gz and they return the following error

BUILD FAILED
C:\Temp\stand\examples\example-build.xml:47: The following error occurred while
executing this line:
C:\Temp\stand\examples\example-build.xml:53: Error scanning file:/C:/Temp/stand/
examples/GeoIp/GeoIp.wsdl; resources could not be loaded: [http://www.webservice
x.net/geoipservice.asmx?WSDL]

So I downloaded the WSDL and managed to compile and deploy the GeoIp example. However, when I tried to run the example I got the following error:

ERROR - Error invoking SOAP service at http://www.webservicexnet/geoipservice.a
smx for message exchange "-hqoi4vokxg2bpm6qj5rgvj".
java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:516)
        at java.net.Socket.connect(Socket.java:466)

I have verified that http://www.webservicex.net/geoipservice.asmx is accessible.
Any advice is highly appreciated.

GH



----- Original Message ----
From: Alex Boisvert boisvert@...
To: gobe hobona squeezito@...; user-level discussion of PXE pxe-user@...
Sent: Thursday, 20 July, 2006 2:35:32 AM
Subject: Re: [pxe-user] Problem compiling GeoIP example


Which version of PXE are you using?  I just tried the same command with 
the latest PXE 1.0.169 and it worked.

You can download PXE 1.0.169 from 
http://pxe.intalio.org/public/maven2/pxe/standalone-distro/1.0.169/standalone-distro-1.0.169.tar.gz

BTW, you can also try using "ant" which builds a complete system archive 
(.sar) file for you, ready for deployment.

alex


gobe hobona wrote:
  
Hello

I have a problem and hope somebody may help.

When running the command:  bpelc -wsdl file:GeoIp.wsdl file:GeoIp.bpel

I get the following errors:

file:GeoIp.bpel:32: error: [UndeclaredOperation] The operation "GetGeoIP" is not
 declared on portType "{http://www.webservicex.net}GeoIPServiceSoap";;.
file:GeoIp.bpel:39: error: [UndeclaredOperation] The operation "GetGeoIP" is not
 declared on portType "{http://www.webservicex.net}GeoIPServiceSoap";;.
file:GeoIp.bpel:45: error: [UndeclaredOperation] The operation "GetGeoIP" is not
 declared on portType "{http://www.webservicex.net}GeoIPServiceSoap";;.
bpelc: error: [CompilationErrors] Compilation completed with 3 error(s).


I have confirmed that the operation GetGeoIP is in http://www.webservicex.net/geoipservice.asmx?WSDL

It's as if the BPEL is not recognising the accompanying WSDL.

Any help is highly appreciated.

GEH




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pxe-user mailing list
pxe-user@...
https://lists.sourceforge.net/lists/listinfo/pxe-user

  
    







  


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pxe-user mailing list
pxe-user@...
https://lists.sourceforge.net/lists/listinfo/pxe-user

Parent Message unknown Re: Problem compiling GeoIP example

by Alex Boisvert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Unfortunately PXE's http-soap adapter doesn't use java.net libraries so it won't make a difference if you set those properties.   Instead, it uses Apache HttpClient 2.0, but as of today there's no way to configure the proxy settings :(

It would be close to trivial to add those properties if you're familiar with HttpClient.   Would you like to look into that?  The crux of the code sits in sp-httpsoap/src/main/java/com/fs/pxe/httpsoap/HttpSoapService.java

alex


gobe hobona wrote:
Yes, I access the  web via a proxy.

I couldn't find any documentation on how to assign a proxy server to PXE, so I added  a "-Dhttp.proxyHost=abcdef" and a "-Dhttp.proxyPort=12345" to the command line inside "pxe.bat"

Is there some specific config file I need to edit to assign a proxy server for use by PXE?

GH

----- Original Message ----
From: Alex Boisvert boisvert@...
To: gobe hobona squeezito@...
Cc: user-level discussion of PXE pxe-user@...
Sent: Thursday, 20 July, 2006 3:59:09 PM
Subject: Re: [pxe-user] Problem compiling GeoIP example


Do you require a proxy to access the internet by any chance?

alex

gobe hobona wrote:
Hi and thanks for the quick response.

Initially I had built PXE from the  pxe-src-r812.zip    source code.

It built fine and I even successfully compiled and deployed the HelloWorld example. Upon your earlier advice, I have now also tried the binaries from standalone-distro-1.0.169.tar.gz and they return the following error

BUILD FAILED
C:\Temp\stand\examples\example-build.xml:47: The following error occurred while
executing this line:
C:\Temp\stand\examples\example-build.xml:53: Error scanning file:/C:/Temp/stand/
examples/GeoIp/GeoIp.wsdl; resources could not be loaded: [http://www.webservice
x.net/geoipservice.asmx?WSDL]

So I downloaded the WSDL and managed to compile and deploy the GeoIp example. However, when I tried to run the example I got the following error:

ERROR - Error invoking SOAP service at http://www.webservicexnet/geoipservice.a
smx for message exchange "-hqoi4vokxg2bpm6qj5rgvj".
java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:516)
        at java.net.Socket.connect(Socket.java:466)

I have verified that http://www.webservicex.net/geoipservice.asmx is accessible.
Any advice is highly appreciated.

GH



----- Original Message ----
From: Alex Boisvert boisvert@...
To: gobe hobona squeezito@...; user-level discussion of PXE pxe-user@...
Sent: Thursday, 20 July, 2006 2:35:32 AM
Subject: Re: [pxe-user] Problem compiling GeoIP example


Which version of PXE are you using?  I just tried the same command with 
the latest PXE 1.0.169 and it worked.

You can download PXE 1.0.169 from 
http://pxe.intalio.org/public/maven2/pxe/standalone-distro/1.0.169/standalone-distro-1.0.169.tar.gz

BTW, you can also try using "ant" which builds a complete system archive 
(.sar) file for you, ready for deployment.

alex


gobe hobona wrote:
  
Hello

I have a problem and hope somebody may help.

When running the command:  bpelc -wsdl file:GeoIp.wsdl file:GeoIp.bpel

I get the following errors:

file:GeoIp.bpel:32: error: [UndeclaredOperation] The operation "GetGeoIP" is not
 declared on portType "{http://www.webservicex.net}GeoIPServiceSoap";;.
file:GeoIp.bpel:39: error: [UndeclaredOperation] The operation "GetGeoIP" is not
 declared on portType "{http://www.webservicex.net}GeoIPServiceSoap";;.
file:GeoIp.bpel:45: error: [UndeclaredOperation] The operation "GetGeoIP" is not
 declared on portType "{http://www.webservicex.net}GeoIPServiceSoap";;.
bpelc: error: [CompilationErrors] Compilation completed with 3 error(s).


I have confirmed that the operation GetGeoIP is in http://www.webservicex.net/geoipservice.asmx?WSDL

It's as if the BPEL is not recognising the accompanying WSDL.

Any help is highly appreciated.

GEH




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pxe-user mailing list
pxe-user@...
https://lists.sourceforge.net/lists/listinfo/pxe-user

  
    




  




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pxe-user mailing list
pxe-user@...
https://lists.sourceforge.net/lists/listinfo/pxe-user
LightInTheBox - Buy quality products at wholesale price!