Can't use an Axis web service with WLS 8.1 SP4

Greetings,
In order to simlify the problem, I have this very simple web service:
public class SimpleWS
public String toUpper (String s)
System.out.println ("We are in toUpper " + s);
return s.toUpperCase();
It works properly with Tomcat 5 but deployed in WebLogic Server 8.1 SP4 is giving NullPointerException. The client is the one generated by the wsdl2java task.
The exception is raised after having performed the System.out.println; on return.
I also noticed that it works if the input parameter is an empty string but it fails otherwise.
I modified the startup script in order to add Axis' saaj.jar in the begining of the CLASSPATH, but it doesn't seem to help.
Many thanks in advance for any help.
Nick

Hi,
Welcome to HP support forums. Unfortunately no support for the whole series as shown:
   http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c03168175#N19646
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Similar Messages

  • Invoking a AXIS Web Service with a Java object as input argument

    Hi
    I've been trying to execute a bpel process that invokes a web service deployed through axis.
    This web service takes a java object as input argument as opposed to data types that are directly mapped to java types through the SOAP engine.
    I deployed and tested the service outside of BPEL using a test client class. Everything works well.
    When I try to configure the "Assign" and "Invoke" activities so that service can be invoked, I cannot see the data structure through the variable picker and I see the following message:
    "The element {urn:ComplexTypeWebService}TimeSheetBean is not know to the schema container. Perhaps a schema file that uses it needs to include or import its definition.There mat also be an XML schema issue (non resolvable schema) which prevents {urn:ComplexTypeWebService}TimeSheetBean from being seen by the schema processor."
    Is there any example that demonstrates how to invoke an axis web service in such scenario? What am I doing wrong?
    Please, let me know.

    The passing of Java objects in and out of a web service is NOT supported. variables must be xml documents defined by a XML schema. In my opinion, missing Java object and WSDL is not a good idea. -Edwin

  • Can I use third party web services that communicate via http-post with webui builder?

    Hi, 
    I have 5 computers (services) that are controlled via http-post. 3 of these services are implemented as labview webservices, 1 is labview socket (with python http-wrapper) and the last one is implemented with c# (lighttpd + cgi). 
    Can I use webui builder to controll all of them? Or, what is the simplest change so I can use webui builder?
    What I would like to do, is to change the current javascript-UI to labview-webui. For the interfaces implemented with labview webservices, this is not a problem. For non-labview services, I don't know if it is even possible.
    br,
    Juha

    To add to Mike's answer, the only caveat is that the server needs an appropriate clientaccesspolicy.xml file at the root level (http://yourserver/clientaccesspolicy.xml), or a completely open crossdomain.xml file, for the editor and built apps to be able to communicate with it. There's a help topic which explains this in the context of LV web services, but it's true for Web UI Builder to be able to communicate with arbitrary web servers also.
    Since it sounds like you control all the web servers in question, it shouldn't be too difficult to get this file in place, though.

  • Problem using deployed Axis web services

    Dear all,
    I am currently trying to get my first web services up and running on Tomcat 5. I create a simple Java class to return a String:
    public class SayHello2
        public String hello(String in)
            return ("Hello, " + in);
    }From this class I created the WSDL with Java2Wsdl. I created the deployment descriptor using Wsdl2Java and deployed the whole thing using the Axis AdminClient. Finally, I compiled the resulting classes from step 2 and copied them to the directory that corresponds to the package name.
    The web service is listed together with the method in the list provided by Axis. However, I can not access the method, neither entering the direct URL (http://localhost/WSTest/services/SayHello2?in=bla), nor using the stub classes generated by Axis, nor using a org.apache.axis.client.Call. I am quite lost. Does anyone have any ideas what I could check? I've pasted the WSDL below, just in case there's any hint in there. (I can access this wsdl alright with http://localhost/WSTest/services/SayHello2?wsdl).
    Cheers,
    N.
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="urn:testPackage" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:testPackage" xmlns:intf="urn:testPackage" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--WSDL created by Apache Axis version: 1.2.1
    Built on Jun 14, 2005 (09:15:57 EDT)-->
       <wsdl:message name="helloResponse">
          <wsdl:part name="helloReturn" type="soapenc:string"/>
       </wsdl:message>
       <wsdl:message name="helloRequest">
          <wsdl:part name="in" type="soapenc:string"/>
       </wsdl:message>
       <wsdl:portType name="SayHello2">
          <wsdl:operation name="hello" parameterOrder="in">
             <wsdl:input message="impl:helloRequest" name="helloRequest"/>
             <wsdl:output message="impl:helloResponse" name="helloResponse"/>
          </wsdl:operation>
       </wsdl:portType>
       <wsdl:binding name="SayHello2SoapBinding" type="impl:SayHello2">
          <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="hello">
             <wsdlsoap:operation soapAction=""/>
             <wsdl:input name="helloRequest">
                <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:testPackage" use="encoded"/>
             </wsdl:input>
             <wsdl:output name="helloResponse">
                <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:testPackage" use="encoded"/>
             </wsdl:output>
          </wsdl:operation>
       </wsdl:binding>
       <wsdl:service name="SayHello2Service">
          <wsdl:port binding="impl:SayHello2SoapBinding" name="SayHello2">
             <wsdlsoap:address location="http://localhost/WSTest/services/SayHello2"/>
          </wsdl:port>
       </wsdl:service>
    </wsdl:definitions>

    Thanks for the reply!
    The odd thing is that no exception is thrown at all. All that happens is that I get a null value back when I call the method sayHello (indepent from the way in which I call it, whether using URL access or the client stub). When I deploy the same class as a .jws, called with http://localhost/WSTest/SayHello.jws?method=sayHello&in0=bla, everything works fine. Response:
    <soapenv:Envelope>
      <soapenv:Body>
       <sayHelloResponse    soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <sayHelloReturn xsi:type="xsd:string">Hello, bla</sayHelloReturn>
    </sayHelloResponse>
    </soapenv:Body>
    </soapenv:Envelope>When I call the deployed web servce with http://localhost/WSTest/services/SayHello2?method=sayHello&in0=bla, I get the null value back:
    <soapenv:Envelope>
    <soapenv:Body>
       <sayHelloResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <sayHelloReturn xsi:type="soapenc:string" xsi:nil="true"/>
    </sayHelloResponse>
    </soapenv:Body>
    </soapenv:Envelope>I don't have the slightest clue what the problem could and really need to get this web service thingy going. I have already spent an entire week on this. Any help is greatly appreciated.
    Cheers,
    N.

  • How to use ComplexType in Web Services with Jdeveloper

    I've look an article which says:
    If the parameter is created as a JavaBean that implements the java.io.Serializable interface and exposes all of its properties using the accessor style of getX and setX, Oracle Application Server will handle the XML serialization and deserialization automatically.
    but when I use jdeveloper to create a web Service it only comes up with the warning:
    Method addCourse:the following parameter types do not have an XML Schema mapping and/or serializer specified:
    mypackage.CourseJavaBean
    my code is:
    package whut.mypackage;
    import java.io.Serializable;
    public class CourseJavaBean implements Serializable

    Hi Dugu,
    Can you give the link to the specific article and the version of JDeveloper you are using to help you further?
    One thing to keep in mind is that the accessors must be public - using package access (no modifier) is not going to work.
    Hope this helps,
    Eric

  • Axis Web Services with Orabpel and jBoss

    I have installed orabpel_2.0.11_JBOSS_win32.exe and am just trying to integrate some Axis1.1-Web-Services into the processes.
    So I installed the axis web application within the server under .../deploy/webapps/axis.war and it is deployed automatically as expected.
    The axis happiness-page looks very promissing, but when I try to request the wsdl for e.g. the Version-Service I get the following exception:
    java.lang.NullPointerException
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl
    .java:97)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:
    86)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.getDocument(WSDLWriterImpl.jav
    a:40)
    at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:267)
    at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider
    .java:494)
    at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java
    :72)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
    at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
    at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.ja
    va:375)
    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
    at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisSer
    vlet.java:484)
    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285
    ...... etc.
    I found a similar question in the web services forum but no solution to the problem. Is it possibly a library problem? Or a factory problem, because I saw something like
    set OB_JAVA_PROPERTIES="-Djavax.wsdl.factory.WSDLFactory=oracle.j2ee.ws.wsdl.factory.WSDLFactoryImpl"
    in the obsetenv.bat file.
    Any help? Because I don't want to write every wsdl by hand.
    Best regards, Norbert

    Hi Guys,
    I tried the same thing, but I am getting a different error.
    I appreciate any help in this regard, in advance.
    ~Soumen.
    On the browser:
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:
    Fault - ; nested exception is:
         WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no serializer registered.:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no serializer registered.:
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:rockfella
    In the console:
    10:41:21,203 INFO [enterprise] Mapping Exception to AxisFault
    WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no s
    erializer registered.:
    at oracle.j2ee.ws.wsdl.extensions.ParseUtils.writeExtensibilityElements(ParseUtils.java:130)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBinding(WSDLWriterImpl.java:248)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:178)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:88)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.getDocument(WSDLWriterImpl.java:40)
    at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:340)
    at org.apache.axis.providers.BasicProvider.generateWSDL(BasicProvider.java:242)
    at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)

  • How to use web services with Dynamic url behaviour

    Hi,
    IView created by me currently uses some web services whose url behavior is static but i want to give a dynamic url behavior. i.e. i want to use the url which user provides. So here are my questions
    1. How I shall assign the url supplied by the user to IView?
    2. If I want to set some config variables during runtimes how I shall do it?
    Thanks in advance,
    Vishvesh

    Hi,
    1. I'm guessing you mean the webservice's url the user provides is pointing to an identical webservice to what you used to create your proxy... otherwise I think it will be very hard to do (I can imagine creating the proxies using the wsdl tool in run time or using code dome.. but that can't be what you want, right?).
    So if what you wanted is to use the same web service with a different url, then the web service's proxy class you created has API for doing this in code! (it inherits it)
    2. you can't, simply since the portal application doesn't ever use the config file... it isn't even deployed to the portal... so dynamic properties are "out of the question" here, sorry... see 1 again
    Regards,
    Ofer

  • Consuming Domino web service with JAXB encounters Method Response element

    I am able to consume a Domino R7 (Axis) web service with JAX-WS using Dispatch<SOAPMessage>. When I try using Dispatch<Object> however, JAXB throws an exception because it encounters an unexpected tag.
    The XML from the web service looks like this:
    <Envelope>
        <Body>
            <WebServiceMethodResponse>
                <WebServiceMethodReturn>
                    The meaning of life
                </WebServiceMethodReturn>
            </WebServiceMethodResponse>
        </Body>
    </Envelope>With Dispatch<SOAPMessage>, I can get to the meaning of life quickly using SOAPBody.getElementsByTagName( "WebServiceMethodReturn" ) but with Dispatch<Object>, it appears I must also create a class for the WebServiceMethodResponse element to make JAXB happy. I don't see this happening in other people's examples. Has the Return-element-within-Response-element design been eliminated in pure JAX-WS web services, or is this something that only IBM does?

    In case anyone's search leads them here, I've posted the solution at:
    *[http://www.pby.com/general.nsf/webarticles/dominowebservice01]*
    It is an exhaustive article (not "Hello World"!) that goes through several versions of the web service and client - hopefully explaining all+ pieces of the puzzle:
    ~ web service code,
    ~ WSDLs
    ~ schema
    ~ thoroughly-documented clients that do and do not use JAXB
    ~ ... that use generated artifacts
    ~ ... that customize existing POJOs
    ~ the SOAP messages generated in each direction
    ~ the necessary JAXB annotations
    ~ explanations of how the code works
    ~ explanations of how namespaces affect the code
    ~ on and on and on...
    My constant goal was to write an uncomplicated solution that uses as few artifacts (two) and annotations as possible. The end result is a small, fast JAX-WS 2.0 client that uses JAXB to invoke and consume a secured Domino 7 (1.4.2 JVM + AXIS) web service, using RPC/literal SOAP messages.

  • Apach AXIS Web Service Queries

    Hi All,
    we are thinking to use Apache AXIS Web Service. We have few compatibility queries for Axis Web Service
    Does it support complex types (i.e. Array of Java Objects if my web service returns)? If yes do you have any documentation?
    How do we convert SOAP fault into Application specific exception?
    How to encode SOAP messages?
    Ideal size of SOAP messages?
    Let me know if you require more information.
    Thanks
    Chintan

    I've just looked into this a bit more and discovered that AXIS will use log4j provided that an implementation of log4j is on the classpath of the server or client. Like I said before, what I would do is provide an implementation of log4j on the classpath and then provide a log4j.properties (or xml) file in the classpath.
    From the docs:
    Axis includes a preconfigured log4j.properties file in axis.jar. While this is adequate for basic use, any complex project will want to modify their own version of the file. Here is what to do
    1. Open up axis.jar in a zipfile viewer and remove log4j.properties from the jar
    2. Or, when building your own copy of axis.jar, set the Ant property exclude.log4j.configuration to keep the properties file out the JAR.
    3. Create your own log4J.properties file, and include it in WEB-INF/classes (server-side), in your main application JAR file client side.
    4. Edit this log4J properties file to your hearts content. Server side, setting up rolling logs with fancy html output is convenient, though once you start clustering the back end servers that ceases to be as usuable. Log4J power tools, such as 'chainsaw', are the secret here.
    If you want to remove logging altogether you can try just removing the log4j.properties file from the axis.jar. I wouldn't recommend this though and I have no idea what affect this will have ...

  • Invoke web service with DTO

    Hey guys,
    I am quite new in using BPEL. My first test worked fine, but know I have an issue, which I can not solve. Invoking web services with a basic return value is no problem. I could also you a dto object including some basic variables in order to invoke the web service without having problems.
    But when I have a dto object as return value, I get the following exception.
    Could someone give me a hint to fix my problem...that would be great!
    Thanks alot!
    Sven
    <messages>
    - <input>
    - <carReserveRequest>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="in0">
    - <in0 xmlns="" xmlns:def="urn:TravelBooking" xsi:type="def:CarReservationDTO" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <carType>
    Mini
    </carType>
    <customerName>
    9
    </customerName>
    <customerPhone>
    9
    </customerPhone>
    <reservationEnd>
    2030-12-12T00:00:00.000+01:00
    </reservationEnd>
    <reservationStart>
    2029-12-12T00:00:00.000+01:00
    </reservationStart>
    </in0>
    </part>
    </carReserveRequest>
    </input>
    - <fault>
    - <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="summary">
    <summary>
    exception on JaxRpc invoke: trailing block elements must have an id attribute
    </summary>
    </part>
    </remoteFault>
    </fault>
    </messages
    Message was edited by:
    user606281

    Here is more information. Below are the relevant sections of the web service's WSDL which I am trying to call from BPEL:
    - <wsdl:message name="getNextIDResponse">
    <wsdl:part name="part1" element="ns0:getNextIDResponse" />
    </wsdl:message>
    - <wsdl:message name="getNextIDFault">
    <wsdl:part name="part1" element="ns0:SOAPExceptionFault" />
    </wsdl:message>
    <wsdl:message name="getNextIDMessage" />
    - <wsdl:portType name="GetUniqueIDPortType">
    - <wsdl:operation name="getNextID">
    <wsdl:input message="axis2:getNextIDMessage" wsaw:Action="urn:getNextID" />
    <wsdl:output message="axis2:getNextIDResponse" />
    <wsdl:fault name="getNextIDFault" message="axis2:getNextIDFault" />
    </wsdl:operation>
    </wsdl:portType>

  • Changing structure of Axis web service response?

    I am developing an Axis web service with one request called 'createCaseWithRef'. The client that consumes the web serivce has already been configured to send a request in a certain structure and recieve a response in a certain structure.
    I have the request working fine, but the response being sent back from the web service is wrong. The structure of the response should be:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns0="http://com.lagan/types/WebService"
    env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <env:Body>
              <ans1:createCaseWithRefResponse xmlns:ans1="http://com.lagan/wsdl/WebService">
                   <result href="#ID1"/>
              </ans1:createCaseWithRefResponse>
              <ns0:ArrayOfstring id="ID1" xsi:type="enc:Array" enc:arrayType="xsd:string[2]">
                   <item xsi:type="xsd:string">1000251282</item>
                   <item xsi:type="xsd:string">12345-FLC-155524</item>
              </ns0:ArrayOfstring>
         </env:Body>
    </env:Envelope>Whereas the response message being sent back is:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <soapenv:Body>
              <ns1:createCaseWithRefResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://com.lagan/types/WebService">
                   <createCaseWithRefReturn soapenc:arrayType="xsd:string[2]" xsi:type="soapenc:Array" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
                        <createCaseWithRefReturn xsi:type="xsd:string">1000251282</createCaseWithRefReturn>
                        <createCaseWithRefReturn xsi:type="xsd:string">12345-FLC-155524</createCaseWithRefReturn>
                   </createCaseWithRefReturn>
              </ns1:createCaseWithRefResponse>
         </soapenv:Body>
    </soapenv:Envelope>How can I change the structure of the response message to conform with the expected message? Is this done is the WSDD file of the service?
    Any help would be greatly appreciated.

    Anyone know how to do this? Please help if you do, this would be very much appreciated.

  • Accessing IRM Web Services with Coldfsuion

    We are looking to use the IRM web services with Coldfusion. Coldfusion abstracts Web Services calls through Java calls to the point of just setting up structures and calling the functions.
    My question is about the process for building the correct parameters for the IRM services. I have the JDeveloper examples working but I can't make enough sense of what is goin on through all the calls to build the proper information.
    What I don't understand yet are things like where do I get the server key and at what point do I authenticate? Do I need to do separate calls for these things.
    I've captured a soap transaction for the update user example in JDeveloper and see there is a serverKey but no other authentication. Is this all I need?
    The web services documentation mentions authentication needs to be basic authentication. Other than that there is not more info. Is there any other source of info?

    Hi
    Sorry, things are a bit confused when it comes to Web Services (WS) documentation. At the moment (in 10g), it's mixed up with the older stuff in the Component API Help file. Also, apart from a few snippets and the JDeveloper examples, there is no WS sample code. We hope to address this in 11g.
    The web services required HTTP basic authentication details to be set before the call is invoked. This will be the username and password of the sealing user, so that user will need to be configured to use Standard Auth, rather than NT Auth. How to set this depends on the web service stack used on the client, but with JAX-RPC there are APIs that allow the user name and password to be specified. e.g.
    +// User name for authentication purposes+
    contextServices._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY,args[1]);
    +// Password for authentication purposes+
    contextServices._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY,args[2]);
    This snippet is in the Help file under the header "Authentication", or directly via:
    mk:@MSITStore:C:\Program%20Files\SealedMedia\Enterprise%20APIs%20SDK\Components%20SDK\Docs\smcomponents.chm::/ws_documentation_authentication.htm
    As for the Server Key, each IRM Server has a unique UUID value. The easiest way to get this is to call the following web service method on the “ServerServices” web service port.
    LicenseServer_ref reference = serverServices.getLicenseServerReference();
    System.out.println(reference.getServerKey());
    One you’ve obtained this it will never change (for the server you are using) and can be cached or stored for all future web service calls.
    I think you need to have the auth properties set, and the Server Key handy, for most WS methods to work, but I don't think it matters in which order you get them.
    Hope this helps,
    David

  • Secured Sybase Web Service with outside certificate authority

    Hello,
    I would like to use Secured Sybase Web Service with outside certificate authority, like Symantec. Could you let me know how I can create CSR for sending to Symantec? What other steps do I need to do?
    Thanks,
    Sudarat.

    Hello Jason,
    Thanks for your reply. The certificate authority require the CSR file before issue a signed certificate. If this is a signed certificate for IIS web server, I can create CSR from IIS. But I cannot use a signed certificate created from CSR of IIS with Sybase Web Service. The below steps are what I have tried.
    1. I use CreateCert.exe with /r parameter to create CSR and private key.
    2. I sent CSR to a certificate authority and they send back a signed certificate.
    3. I have to combine a signed certificate from #2 with private key created from #1. Then use that file to specify with -xs{https …when starting the service.
    Are the above steps what I have to do?  If so, do I need to redistribute createcert.exe to my customers who want to use my application and how? Why I cannot use the signed certificate created from CSR of IIS?
    Thanks,
    Sudarat.

  • Using message-style web service by a Microsoft client

    Does anyone have a sample Microsoft client using message-style web service? BEA
    does not provide one. I found MS client does not receive messages published between
    2 calls to method "receive", while the sample Java client ConsumerClient.java
    does.
    ConsumerClient.java is like:
    while(true){
    Object result = method.invoke(null);
    sleep(20000); // not in sample, added for my test
    System.out.println(result);
    My VBScript code is like:
    Set SC = CreateObject("MSSOAP.SoapClient")
    SC.mssoapinit "http://localhost:7001/msg/Receiver/Receiver.wsdl", "", "", ""
    While TRUE
    Res = SC.receive
    WScript.echo "Res = " & Res     
    Res = ""
    ' do something that takes 20 seconds
    Wend
    I added 20 seconds between calls so I can publish a message between 2 calls. I
    found the Java client receives the message but the VBScript client doesn't. Has
    anyone else observed this?

    Hi Kevin,
    Thanks for your feedback.
    Header support is planed for the next major release.
    regards,
    -manoj
    Kevin Jiang wrote:
    Hi Manoj,
    Can you use SOAP header to pass session id accross instead of HTTP header? MS
    SOAP toolkit 2.0 support access to SOAP header.
    My app needs to use topic instead of queue. But as I said earlier, I can use MS
    XML toolkit to access HTTP header. So I have a work around.
    Thanks for all your responses with regard to this question!
    Kevin
    manoj cheenath <[email protected]> wrote:
    Hum! i thought you were not able to receive message at all. now
    i understood the problem. yes we are using http header to pass
    session id accross, in the case of web service client who wants
    to subscribe to JMS topics. I cant think of any other way to do
    this. if you have any suggestions, i very much like to hear it.
    for your application is it possible to use queues instead of topics?
    we do not use http session information in the case of JMS queues.
    -manoj
    Kevin Jiang wrote:
    Hi Manoj,
    Your sample code is basically same as mine. It would also lose messagespublished
    between calls to "receive" method.
    I figured out what's going on. Undocumented by BEA, the web servicesends JMS
    session ID in HTTP header along with first message. When client makessubsequent
    calls to "receive", this ID must be sent back. I found this by usinga SOAP trace
    tool.
    Unfortunately, MS SOAP toolkit doesn't support access to HTTP header.So one has
    to use MS XML toolkit to use message-style web service, when writingMS clients.
    manoj cheenath <[email protected]> wrote:
    an example of using message style web services with
    ms soap toolkit is attached. let me know if this works
    for you.
    regards,
    -manoj
    Kevin Jiang wrote:
    Hi Manoj,
    I just changed anyType to string and the problem still happens.
    Thanks,
    Kevin
    manoj cheenath <[email protected]> wrote:
    I have not tryed message style web services with MS soap toolkit.
    I think the problem is because the WSDL for the message style
    web service use xsd:anyType as the return type and MS soap is
    not able to understand it. can you pls modify the xsd:anyType to
    xsd:string (or someother base type) in the WSDL.
    SC.mssoapinit can load wsdl stored as a local file. so it should
    be easy to make this change.
    regards,
    -manoj
    Kevin Jiang wrote:
    Does anyone have a sample Microsoft client using message-style
    web
    service? BEA
    does not provide one. I found MS client does not receive messages
    published
    between
    2 calls to method "receive", while the sample Java client ConsumerClient.java
    does.
    ConsumerClient.java is like:
    while(true){
    Object result = method.invoke(null);
    sleep(20000); // not in sample, added for my test
    System.out.println(result);
    My VBScript code is like:
    Set SC = CreateObject("MSSOAP.SoapClient")
    SC.mssoapinit "http://localhost:7001/msg/Receiver/Receiver.wsdl",
    While TRUE
    Res = SC.receive
    WScript.echo "Res = " & Res
    Res = ""
    ' do something that takes 20 seconds
    Wend
    I added 20 seconds between calls so I can publish a message between2 calls. I
    found the Java client receives the message but the VBScript clientdoesn't. Has
    anyone else observed this?

  • HT204053 Can I set up icloud services on multiple iphones under a single account? More specifically, can I use- find my iphone services -under one account?

    Can I use Find My iphone service with multiple iphones under one account? I have 4 iphones in my family and I want to monitor all phones by logging into one account!

    You can create and use different iCloud accounts on the same computer, whether they are single or multiple user.
    There is a limit of 3 accounts you can create from a device but I thought this was only iOS devices - maybe not.
    iCloud accounts can only be created using a valid email address, so I guess I'd start there to retrace what accounts you have.
    My Apple ID and iForgot.com may be useful sites for you.

Maybe you are looking for

  • Iphone won't charge after overheat warning

    Ok so every night I go to sleep I plug in my phone to charge, play some youtube videos or listen to music or podcasts( on the official apple app) until i fall asleep and every morning I have woken up to a fully charged phone, I have been doing this f

  • I would like to find a free download for OS X 10.7. I have 10.6.8

    Where can I find this verion of OS X Lion 10.7 (just this one)? Thanks a lot in advance! Regards Florcita

  • Finding items in trash after it has been emptied

    2 years ago when i bought my Mac I copied photos from my old PC to the Mac using a portable hard drive. I discarded the Pc and have used the Mac Happily ever since. Today i discovered that all my photos dating back to before i got my Mac disappeared.

  • Restriction of sales office, sales group and plant

    how can i restricts sales office, sales groups and plant for the different user. there is no authority check at inquiry, quotation, sales order please guide me thanks

  • Deleting iban number

    hi, we got a requirement that to delete IBAN number. I have logged on to change vendor master and tried to erase it.. but when I tried to save it its asking IBAN number is needed. Now, the requirement is they don't want the IBAN number in place. Anot