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 Liliana Ziolek <li...@gmail.com> on 2008/02/15 17:02:59 UTC

Remote WSDL file location

Hi,
I've seen recently an email from somebody asking if it's possible to
use remote WSDL file using axis2 maven plugin and the answer was 'yes'
(http://marc.info/?l=axis-user&m=119815987607677&w=2).
I have the same question/problem, as I cannot get it working and was
wondering if there is something wrong with my configuration?

In pom.xml the relevant section is:
<plugin>
	<groupId>org.apache.axis2</groupId>
	<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
	<version>1.3</version>
	<executions>
		<execution>
			<goals>
				<goal>wsdl2code</goal>
			</goals>
	<configuration>
		<packageName>nice.test</packageName>
		<wsdlFile>http://soap.nice.org.uk:8000/wsdl/guidanceservice.wsdl</wsdlFile>
	</configuration>
		</execution>
	</executions>
</plugin>

When I try to run mvn compile, I get the following:

java.io.FileNotFoundException:
E:\workspace-nice\Nice-test\http:\soap.nice.org.uk:8000\wsdl\guidanceservice.wsdl
(The filename, directory name, or volume label syntax is incorrect)

so it seems that instead of going to remote location, it is still
trying to find a local file.

Any help? Is there something wrong with my project or should I report
a bug in the plugin ?

-- 
Regards,
Liliana
"Write your code as if the person maintaining it is a homicidal maniac
who knows where you live."

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


Re: Remote WSDL file location

Posted by Davanum Srinivas <da...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, this is a bug Liliana, Please log it in the JIRA

- -- dims

Liliana Ziolek wrote:
| Hi,
| I've seen recently an email from somebody asking if it's possible to
| use remote WSDL file using axis2 maven plugin and the answer was 'yes'
| (http://marc.info/?l=axis-user&m=119815987607677&w=2).
| I have the same question/problem, as I cannot get it working and was
| wondering if there is something wrong with my configuration?
|
| In pom.xml the relevant section is:
| <plugin>
| 	<groupId>org.apache.axis2</groupId>
| 	<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
| 	<version>1.3</version>
| 	<executions>
| 		<execution>
| 			<goals>
| 				<goal>wsdl2code</goal>
| 			</goals>
| 	<configuration>
| 		<packageName>nice.test</packageName>
| 		<wsdlFile>http://soap.nice.org.uk:8000/wsdl/guidanceservice.wsdl</wsdlFile>
| 	</configuration>
| 		</execution>
| 	</executions>
| </plugin>
|
| When I try to run mvn compile, I get the following:
|
| java.io.FileNotFoundException:
| E:\workspace-nice\Nice-test\http:\soap.nice.org.uk:8000\wsdl\guidanceservice.wsdl
| (The filename, directory name, or volume label syntax is incorrect)
|
| so it seems that instead of going to remote location, it is still
| trying to find a local file.
|
| Any help? Is there something wrong with my project or should I report
| a bug in the plugin ?
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)

iD8DBQFHtbkFgNg6eWEDv1kRAor0AKDSr03RLRTwbRDk11u6NAp7gzEW0QCg7thQ
QIxmMlqwYkDWaGoM/ZMPsY0=
=YR1O
-----END PGP SIGNATURE-----

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