Finally worked with:
@WebServiceClient(name = "SalesService", targetNamespace =
"urn:sales.test.au/schema/common", wsdlLocation =
"classpath:SalesService.wsdl")
public class SalesService
extends Service
{
private final static URL SalesSERVICE_WSDL_LOCATION;
private final static
Hi,
This is getting very frustrating trying to get the project to find relative
paths to the WDSL.
Environment: Java 7
Build Tool: gradle
IDE: Intellij
The WSDL file runs fine in the IDE with :
@WebServiceClient(name = "SalesService", targetNamespace =
"urn:Sales.test.au/schema/common",
Yes, for example:
https://github.com/apache/cxf/blob/master/systests/ws-security/src/test/resources/alice.properties
Colm.
On Sat, Feb 3, 2018 at 6:50 AM, Al Grant wrote:
> Can the crypto properties file use relative paths. Instead of:
>
>
Can the crypto properties file use relative paths. Instead of:
org.apache.ws.security.crypto.merlin.truststore.file=C:\\Users\\Owner\\IdeaProjects\\project1\\src\\main\\resources\\truststore.jks
Something like:
This worked:
@WebServiceClient(name = "SalesService", targetNamespace =
"urn:sales.com.au/schema/common", wsdlLocation =
"file:src/main/resources/SalesService.wsdl")
public class SalesService
extends Service
{
--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
I tried :
wsdlLocation = ("file:/Service.wsdl")
wsdlLocation = ("file:Service.wsdl")
wsdlLocation = ("/Service.wsdl")
wsdlLocation = ("Service.wsdl")
Always file not found?
--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
Better than in plain text!!
On Fri, Feb 2, 2018 at 11:14 PM, Colm O hEigeartaigh
wrote:
> Well it can be, I think, but that's not buying you much security.
>
> Colm.
>
> On Fri, Feb 2, 2018 at 10:03 AM, Al Grant wrote:
>
> > So the crypto properties
Well it can be, I think, but that's not buying you much security.
Colm.
On Fri, Feb 2, 2018 at 10:03 AM, Al Grant wrote:
> So the crypto properties file cant be hidden in the jar file?
>
>
>
> --
> Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
>
--
So the crypto properties file cant be hidden in the jar file?
--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
You can encrypt the password in the Crypto properties file, but you still
need to supply a password somehow to decrypt the encrypted password. See
here:
http://coheigea.blogspot.ie/2014/02/apache-wss4j-200-part-iv.html
Colm.
On Fri, Feb 2, 2018 at 5:00 AM, Al Grant wrote:
Instead of wsdlLocation = "src/main/resources/SalesService.wsdl" try either:
a) wsdlLocation = "SalesService.wsdl"
b) wsdlLocation = "/SalesService.wsdl"
Colm.
On Fri, Feb 2, 2018 at 4:58 AM, Al Grant wrote:
> Hello,
>
> is there a way to get a relative path to the WSDL
Similar to last post :
((BindingProvider)iisrService).getRequestContext().put(SecurityConstants.ENCRYPT_PROPERTIES,
"client_sign.properties");
((BindingProvider)iisrService).getRequestContext().put(SecurityConstants.SIGNATURE_PROPERTIES,
12 matches
Mail list logo