[JBoss-user] [JBossWS] - Re: Can a DII client access a WSDL locked down by basic HTTP
That is a great idea but unfortunately I tried that and it didn't work. Now, if I do that from firefox it works fine but I think the client has to support such a feature. Here is my relevant client code: | ServiceFactoryImpl factory = (ServiceFactoryImpl)ServiceFactory.newInstance(); | URL wsdlURL = new URL(WSDL_LOCATION); | QName serviceName = new QName(NAMESPACE, SERVICE_NAME); | | Service service = factory.createService(wsdlURL, new URL(JAX_RPC_MAPPING_LOCATION), null, serviceName, PORT_NAME); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904307#3904307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904307 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Can a DII client access a WSDL locked down by basic HTTP aut
Hello, I was wondering if there is an easy way to pass authentication information to the ServiceFactoryImpl class before it creates a service? I cannot seem to find an easy way to get access to a WSDL that requires BASIC authentication. Once I have the stub I am fine because I can add information into the HTTP header and the SOAP header by setting properties on the stub. I know I should probably be using a different type of client since DII is limiting but I was hoping someone could help me. Thanks in advance, Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904286#3904286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904286 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user