Webservice invokation: Missing body information

Hi,
i created a webservice via jdeveloper. Building and deploying worked fine, but now when i invoke the webservice via the em-console i get:
<env:Body>
<env:Fault>
<faultcode>env:Client</faultcode>
<faultstring>Missing body information</faultstring>
</env:Fault>
</env:Body>
Does anybody know, how to deal with this error message?

Hello,
1- Can you invoke the service using a Java client (a Web Service Proxy)?
Without any more in information such as WSDL, SOAP request, it is hard to give you a path to look. You can capture that from the Test page and/or by turning on auditing on the service.
Regards
Tugdual Grall

Similar Messages

  • Missing Port  Information - HELP!

    Hi, i built a dynamic client to work with my webservice. Both were built using the JWSP1.2. Bellow is the error i get. It happens only if i call the getAll WS method (this method receives a String parameter and returns a Source Type Object) . Does anyone have any idea about what's happening? Could someone show me the way? Really appreciate
    [java] WSDLstring = http://localhost:8080/cm/ContextManager?WSDL
    [java] java.rmi.ServerException: Missing port information
    [java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:382)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:234)
    [java] at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:64)
    [java] at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:346)
    [java] at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:102)
    [java] at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:74)
    [java] at $Proxy0.getAll(Unknown Source)
    [java] at contextclient.CMClient.getConnection(Unknown Source)
    [java] at contextclient.CMClient.main(Unknown Source)
    Tks in advance,
    Rodrigo.

    The WSDL code is right here. It was generated by the ant builder wich follows the JWSDP 1.2
    <definitions xmlns:tns="http://localhost:8080/cm/ContextManager" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns2="http://java.sun.com/jax-rpc-ri/internal" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://localhost:8080/cm/ContextManager" name="ContextManager">
         <types>
              <schema targetNamespace="http://java.sun.com/jax-rpc-ri/internal" xmlns:tns="http://java.sun.com/jax-rpc-ri/internal" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
                   <simpleType name="text_xml">
                        <restriction base="string"/>
                   </simpleType>
              </schema>
         </types>
         <message name="ContextManagerIF_getAll">
              <part name="String_1" type="xsd:string"/>
         </message>
         <message name="ContextManagerIF_getAllResponse">
              <part name="result" type="ns2:text_xml"/>
         </message>
         <message name="ContextManagerIF_getFullDOM">
              <part name="Source_1" type="ns2:text_xml"/>
         </message>
         <message name="ContextManagerIF_getFullDOMResponse">
              <part name="result" type="ns2:text_xml"/>
         </message>
         <message name="ContextManagerIF_teste">
              <part name="String_1" type="xsd:string"/>
         </message>
         <message name="ContextManagerIF_testeResponse">
              <part name="result" type="ns2:text_xml"/>
         </message>
         <portType name="ContextManagerIF">
              <operation name="getAll" parameterOrder="String_1">
                   <input message="tns:ContextManagerIF_getAll"/>
                   <output message="tns:ContextManagerIF_getAllResponse"/>
              </operation>
              <operation name="getFullDOM" parameterOrder="Source_1">
                   <input message="tns:ContextManagerIF_getFullDOM"/>
                   <output message="tns:ContextManagerIF_getFullDOMResponse"/>
              </operation>
              <operation name="teste" parameterOrder="String_1">
                   <input message="tns:ContextManagerIF_teste"/>
                   <output message="tns:ContextManagerIF_testeResponse"/>
              </operation>
         </portType>
         <binding name="ContextManagerIFBinding" type="tns:ContextManagerIF">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="getAll">
                   <input>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/cm/ContextManager"/>
                   </input>
                   <output>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/cm/ContextManager"/>
                   </output>
                   <soap:operation/>
              </operation>
              <operation name="getFullDOM">
                   <input>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/cm/ContextManager"/>
                   </input>
                   <output>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/cm/ContextManager"/>
                   </output>
                   <soap:operation/>
              </operation>
              <operation name="teste">
                   <input>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/cm/ContextManager"/>
                   </input>
                   <output>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/cm/ContextManager"/>
                   </output>
                   <soap:operation/>
              </operation>
         </binding>
         <service name="ContextManager">
              <port name="ContextManagerIFPort" binding="tns:ContextManagerIFBinding">
                   <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
              </port>
         </service>
    </definitions>
    Regards,
    Rodrigo.

  • Java.rmi.ServerException: JAXRPCSERVLET28: Missing port information

    Hi
    We are getting errors when we run the webservice client..
    With this we have also provided the webservice code.
    Please any one help us to resolve this issue...
    Thanks in advance.
    We are using
    J2EE 1.4
    Error:
    java.rmi.ServerException: JAXRPCSERVLET28: Missing port information
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:510)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307
    at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.j
    ava:103)
    at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)
    at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocatio
    nHandler.java:121)
    at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocatio
    nHandler.java:85)
    at $Proxy0.flowrequest(Unknown Source)
    at dynamicproxy.MathClient.main(MathClient.java:52)
    Web service Client Code:
    package dynamicproxy;
    import java.net.URL;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ServiceFactory;
    //import com.ibm.ctg.client.JavaGateway;
    //import com.ibm.ctg.client.ECIRequest;
    import dynamicproxy.*;
    public class MathClient
    static String message;
    static String err=null;
         static StringBuffer sb = null;
         public String s1;
         public static int iValidationFailed = 0;
    public static void main(String[] args)
    try {
    String nameSpaceUri = "urn:Foo";
    String serviceName = "CtgService";
    String portName = "MathFacePort";
    // Specify the location of the WSDL file
    URL url = new URL("http://localhost:8080/math-ctgservice/math?WSDL");
    // Create an instance of service factory
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    // Create a service object to act as a factory for proxies.
    Service mathService = serviceFactory.createService(url,
    new QName(nameSpaceUri, serviceName));
    // Create a proxy
    dynamicproxy.MathFace
    myProxy = (dynamicproxy.MathFace) mathService.getPort(new
                             QName(nameSpaceUri,
    portName), dynamicproxy.MathFace.class);
    // Invoke the add method
    //System.out.println(myProxy.add(23, 12));
              //get the input value and pass it to the function
                   String a = args[0]+"~"+"------------------------------------------------------------";
                   //String a = b.toUpperCase();
                   // Invoke the add method
                   myProxy.flowrequest(a);
                   System.out.println("Message:"+message);
         catch (Exception ex)
    ex.printStackTrace();
    }

    As is so often the case, Google is your friend.
    Googling for the exception message (JAXRPCSERVLET28: Missing port information) yields the following list.
    http://www.google.com/search?hl=en&q=JAXRPCSERVLET28%3A+Missing+port+information&btnG=Google+Search
    Follow the bouncing link, it will lead you to the solution.
    PS.

  • "Missing port information" and NoClassDefFoundError

    I'm developing a Web Service using JWSPD1.2, and I'm having some problem in executing a client which accesses to the service I'm publishing.
    On Client side the error is:
    java.rmi.ServerException: Missing port information
    at com.sun.xml.rpc.StreamingSender._send
    On Server side (file $(JWSPD_HOME)/logs/launcher.server.log) I found out that the thrown exception is a NoClassDefFoundError.
    The class that is not found, however, is included in a library that I'm linking on the command line, so I can't understand why this exception is thrown...
    Has anyone of you been involved in a similar problem?
    Perhaps I have to link the library somewhere else, but I don't know where...
    Thanks in advance for your help!

    Hi ! I am getting the same error at the client side :
    java.rmi.ServerException: Missing port information
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:370)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:231)
    at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:56)
    at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:281)
    at DIIClient.main(DIIClient.java:111)
    can u just tell me how the problem was solved and what were the jar files u had set in the classpath. Pls help me i am new to webservices. Thanx in advance

  • JAXRPCSERVLET.28:Missing port information

    All,
    I have exposed JCD as webservice in 513. When client try to invoke my webservice, they get JAXRPCSERVLET.28:Missing port information error and I have checked the server.log and I have find out below error. Please help.
    [#|2007-07-05T10:54:02.419-0400|SEVERE|IS5.1.3|Avalara.svcAddress.jcdAddress_Runtime_Handler|_ThreadID=39; ThreadName=http21001-Processor4;stacktrace-id=30;|java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 10
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 10
         at com.borders.ECOM.otd.xsd.Output.<init>(com.borders.ECOM.otd.xsd.Output:115)
         at java.lang.Class.newInstanceImpl(Native Method)
         at java.lang.Class.newInstance(Class.java:1243)
         at com.stc.util.OtdObjectFactory.createInstance(OtdObjectFactory.java:51)
         at Avalara.svcAddress.jcdAddress_Runtime_Handler.createObject(Avalara.svcAddress.jcdAddress_Runtime_Handler:517)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:615)
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:140)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:135)
         at $Proxy107.createObject(Unknown Source)
         at com.stc.codegen.frameworkImpl.runtime.DeployedServicePartners.internalCreateObject(DeployedServicePartners.java:813)
         at com.stc.codegen.frameworkImpl.runtime.DeployedServicePartners.localCreateObject(DeployedServicePartners.java:565)
         at com.stc.wsserver.runtime.impl.JCDWSServerServiceImpl.init(JCDWSServerServiceImpl.java:182)
         at com.stc.wsserver.runtime.impl.AbstractServiceEndpoint.init(AbstractServiceEndpoint.java:278)
         at com.sun.xml.rpc.server.http.Implementor.init(Implementor.java:45)
         at com.sun.xml.rpc.server.http.ImplementorCacheDelegateImpl.getImplementorFor(ImplementorCacheDelegateImpl.java:57)
         at com.sun.xml.rpc.server.http.ImplementorCache.getImplementorFor(ImplementorCache.java:32)
         at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:290)
         at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:74)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:768)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:615)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
         at java.security.AccessController.doPrivileged(AccessController.java:275)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:727)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:318)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:102)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:192)
         at java.security.AccessController.doPrivileged(AccessController.java:242)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:261)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:215)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:200)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:180)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:161)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:156)
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:173)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:154)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:569)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:979)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:692)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:647)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:691)
         at java.lang.Thread.run(Thread.java:803)

    Solved it ! Some endpoint alias problem during deployment ! Now works fine !

  • What is "Missing Port Information" error?

    Setting FINEST log level on JAXRPC in the AS8 2004Q04 Beta reveals nothing.
    Searches on this forum provides only 3 matches for "Missing port information" (this one makes 4). In http://forum.java.sun.com/thread.jsp?forum=136&thread=508958 the same problem that I have is described, and the problem is left unresolved, despite a plea from a second user. ( I wonder what happened to these people...Did they sell short or become .NET developers. Neither are an answer for me. )
    Searches in the bug parade shows that this error is generic: In 6157880, classpath was not set correctly. In 4859401, service used a J2SE 1.4 API in a 1.3 environment. In 4802443 there is a getter for a public field and so jaxrcp was confused. There are more bugs matching but I'm not listing them all here. My point is that there doesn't seem to be a single root cause for this problem.
    So, logs don't help, forum doesn't have answer, bug parade is too noisy. This problem seems unresolved here on Sun's web pages, but here I try again:
    Here are some questions:
    1) What is "port information"?
    2) From where is it missing? Where does AS8 expect to find it?
    3) Anyone have a strategy on how to debug this?
    I have Axis TCPMON tracing the soap messages and can verify that AS8 originates the error, not the client. The limited information from the server log verifies this too:
    [#|2004-11-01T16:28:20.008-0500|SEVERE|sun-appserver-pe8.1|javax.enterprise.resource.webservices.rpc.server.http|_Thre
    adID=11;|JAXRPCSERVLET22: no endpoint specified|#]Here is the output of a client that dumps the exception:
         [java] Endpoint address = http://Stratocaster:8080/ym/ym-alias
         [java] javax.xml.rpc.soap.SOAPFaultException: JAXRPCSERVLET28: Missing port information
         [java]     at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:515)
         [java]     at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294)
         [java]     at svcp.XXXAPIR0501_Stub.create2(XXXAPIR0501_Stub.java:282)
         [java]     at SubClient.main(SubClient.java:31)

    I believe I've gotten to the bottom of this error and will report it here in case there is anyone that is also having this problem and in case there is anyone that can make sense of it.
    The alias and endpoint fields must be equal.
    The deploy tool allows you to enter an alias and an endpoint for your web service. I'll show you the user interface specifics below. The data you enter in these fields show up in the wsdl, the web.xml and the sun-web.xml, and I'll show what elements below.
    Except for the preceding '/' in the alias field (the '/' is inserted by deploytool), the alias and the endpoint string must be identical: if '/imp-alias' is the alias value, the endpoint must be 'imp-alias'.
    If they are not equal and your client uses the alias value in endpoint address, you will get "Missing port information" error.
    If they are not equal and your client uses the endpoint value in endpoint address, you will get '404 Not Found' error.
    For example, lets say I set alias to 'api-alias' and endpoint to 'api-endpoint'. Using my browser, I can get the wsdl with http://localhost:8080/context/api-alias?wsdl (where context is also a value set in deploytool gui). The returned wsdl will show that the soap:adress location attribute is: http://localhost:8080/context/api-endpoint. If your client uses the wsdl to generate stubs, the default endpoint is this location and your client will get the '404 Not Found' error. If you client provides an endpoint address by setting the ENDPOINT_ADDRESS_PROPERTY to http://localhost:8080/context/api-alias, your client will get the "Missing port information" error.
    You get to the alias and endpoint fields in deploytool from the File panel on the left. Open the subfolder that represents your war file. There will be your web service. Select the web service and the main panel will change to contain about 4-6 tabs. One tab labelled Aliases another tab labelled Endpoint.
    The alias field shows up in the web.xml file like this:
    <servlet-name>APIImpl</servlet-name>
    <url-pattern>/api-alias</url-pattern>
    </servlet-mapping>The endpoint field show up in the web.xml file under the same servlet-mapping element as alias:
    <servlet-name>APIImpl</servlet-name>
    <url-pattern>/api-endpoint/__container$publishing$subctx/*</url-pattern>
    </servlet-mapping>The endpoint field shows up in the wsdl in the soap:address element's 'location' attribute:
          <soap:address location="http://localhost:8080/context/api-endpoint" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>The endpoint field shows up in the sun-web.xml file
    <endpoint-address-uri>api-endpoint</endpoint-address-uri>John

  • Missing type information when importing external web service

    Hello,
    using the SAP NetWeaver Developer Studio SAP NetWeaver 7.1 Composition Environment SP06 PAT0003, I have imported a number of RFCs from an R/3. The import succeeded as expected (see [here|http://img25.imageshack.us/my.php?image=importrfc.png]) and I am able to invoke the RFCs as intended.
    Now, we have imported these RFCs into a PI 7.1 and published them as web services.
    However, when I import these web services rather than the RFCs, the type information for parameters is lost as shown [here|http://img25.imageshack.us/my.php?image=importwebservice.png]. The missing type information is included in the provided wsdl files, though.
    Note: Using the current version of the NWDS for the CE 7.1 EhP1 does not solve this problem!
    Does anyone has an idea what is going wrong?
    Best regards
    Alexander

    The type information is actually not missing. However, the used types carry no names. Therefore, the types are displayed as "anonymous" in the NWDS.

  • Getting "Missing Port Information" exception

    I wrote a simple service with 3 methods. I created and deployed the service on one machine. I wrote a client to access the service and everything was fine. Then I took the same service on another machine - created and deployed the service on this machine. It says the service deployed. But when I access the service via client I get the following exception:
    Exception is received fault: "Missing port information" (code: "Server" namespace: "http://schemas.xmlsoap.org/soap/envelope/"); nested exception is:
    received fault: "Missing port information" (code: "Server" namespace: "http://schemas.xmlsoap.org/soap/envelope/")
    java.rmi.RemoteException: received fault: "Missing port information" (code: "Server" namespace: "http://schemas.xmlsoap.org/soap/envelope/"); nested exception is:
    received fault: "Missing port information" (code: "Server" namespace: "http://schemas.xmlsoap.org/soap/envelope/")
    received fault: "Missing port information" (code: "Server" namespace: "http://schemas.xmlsoap.org/soap/envelope/")
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:321)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:211)
    at work.EmployeeDirectoryPort_Stub.findAllPeers(Unknown Source)
    at Client.main(Client.java:16)
    Can someone please help me with this?
    Thanks.

    Tool: jax-rpc
    Server: weblogic 6.1 (sp3)
    Yes, I wrote the client on my own and here is a part of it.
    public static void main(String[] args) {
    try {
    String baid = args[0];
    EmployeeDirectory_Impl empDir = new EmployeeDirectory_Impl();
    System.out.println("Constructed Impl ");
    EmployeeDirectoryPort_Stub stub = (EmployeeDirectoryPort_Stub)empDir.getEmployeeDirectoryPort();
    System.out.println("Got Port ");
    work.EmployeeProfile[] empArray = (work.EmployeeProfile[])stub.findAllPeers(baid);
    System.out.println("Invoked ");
    if(empArray != null) {
    System.out.println("Peers array is "+ empArray.length);
    I do not get to the "Got port" printout.
    Thanks
    Neerja

  • Java.rmi.ServerException: Missing port information

    when i call the service ,i got the error:
    run-test-client:
    [java] java.rmi.ServerException: Missing port information
    [java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingS
    ender.java:382)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
    java:234)
    [java] at sys.SetIF_Stub.getdeviceid(SetIF_Stub.java:68)
    [java] at sys.StockPriceFetcher.getdeviceid(Unknown Source)
    [java] at sys.TestPriceFetcher.main(Unknown Source)
    what cause it??
    in my SetImpl.java i use wurfltags.jar
    //SetImpl.java
    package sys;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import net.sourceforge.wurfl.wurflapi.*;
    public class SetImpl implements SetIF {
         private String ret="";
    private ProConf pc;
    private MyObjectsManager mom;
         public SetImpl(){}
    public String getdeviceid(String request)
    String result="";           
    try{              
    mom=new MyObjectsManager();
    mom.wurflWebInit();
    UAManager uam =mom.getUAManagerInstance();
    result=uam.getDeviceIDFromUA("MOT-T720/05.08.41R MIB/2.0 Profile/MIDP-1.0 Configuration/CLDC-1.0");
    System.out.println(result);
    catch(Exception e){}
    return result;     
    and, i generate the wsdl file and deploy it successfully. but in the client
    when i call the service it will be error.
    the client code is:
    /////////StockPriceFetcher.java
    package sys;
    import javax.xml.rpc.*;
    import com.sun.xml.rpc.client.*;
    public final class StockPriceFetcher {
    public static final String getdeviceid(String req,String endpoint) {
    String result="";
    try {
    SetIF_Stub stub =(SetIF_Stub)(new SystemConfiguration_Impl().getSetIFPort());
    stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,endpoint);
    result = stub.getdeviceid(req);
    } catch (Exception ex) {
    ex.printStackTrace();
    return result;
    } // getLonNowItem
    //////////////////////TestPriceTetcher.java
    package sys;
    import java.math.BigDecimal;
    import java.util.*;
    public class TestPriceFetcher {
    public static void main(String[] args) {
    try {
    // String result=StockPriceFetcher.endsetinfo("ball=5&srv=7&pcode=500001","http://192.152.251.224:8080/jaxrpc-sys/jaxrpc");
    String result=StockPriceFetcher.getdeviceid("ball=5&srv=7&pcode=500001","http://192.152.251.224:8080/jaxrpc-sys/jaxrpc");
    System.out.println(result+"bb");
    } catch (Exception ex) {
    ex.printStackTrace();
    when i run the testpricefetcher.java it will raise the above error infomation.
    it spent 2 days for me to find the problem, but i cannot solve it.
    i think it does matter with the wurfl package.because i doesnt use the method of the package in the SetImpl.java it will be ok. How to call the package?please give me a hand.

    can you give me a hand!thank you

  • I have Photoshop 7 on a laptop with windows 8.1.  When I try to open Photoshop 7 I get the error message "cannot open missing personalization information".  What is this and how can I fix it?

    I have Photoshop 7.0.  This is on a laptop running windows 8.1.  When I try to open it I get the errro message: " cannot open missing personalization information".
    what is this and how can I fix it.

    Run it in compatibility mode and input the credentials.
    Mylenium

  • How to set missing language information in iTunes books?

    Some of the ebooks I imported into iTunes are missing language information in their metadata. I can't find a means of setting the proper language in the information dialog, something which can easily done i.e. using Calibre or Sigil. Is iTunes really missing this feature?

    it would seem so

  • Contact Sheet II setup page is missing layout information.

    Where has the layout data gone in the Contact Sheet set up page?  Is Photoshop trying to get rid of all useful tools throughout CS6?

    Pete:
    Below is the screen that I get initiating “Contact Sheet II.”  I’m using Windows 7.  In the area below below the “Reset” button it says, “Press the ESC key.....” it’s missing the information on total photos, number of pages, W: and H: information.  I’ve always considered this information vital in laying out contact sheets.
    On the second printed screen I’m running Windows Vista and Photoshop CS5.  You should be able to see the difference.  There is no “Load, Save and Reset” buttons.
    Thank you for the opportunity to supply this information.  If you have further questions please feel free to contact me.
    Dave Cantrell
    31255 Via Mariposa Court
    Bonsall, CA 92003
    (760) 726-8715
                                                  Photoshop CS6 Beta using Windows 7
    Photoshop CS5 using Windows Vista

  • Missing subclass information...

    Hi,
    I have a form called ALC1.fmb. It passes parameters to report. It is converting date field to TO_CHAR before assigning to fun_add_param. When i run the report the text field which is subclassed from object_library formats value. Here is the code..
    TO_CHAR(:blk_main.sta_efct_dte_frm,get_item_property('blk_main.sta_efct_dte_frm',FORMAT_MASK))
    I am trying to create a similar FORM with only date fields. When i save the above form as ALC2.fmb and run, it works. When i rename the form module name to other than ALC1 it fails. It is missing FORMAT_MASK. if i set FORMAT_MASK in the property pallet, it works.
    My question is why it is missing subclass information when i rename the form module in property class.
    Using Forms9i.

    I extactly face the same issue. It started happening after I uninstalled and installed 10g developer suite. Does anyone know why this is happening?
    Thanks
    GM

  • Missing File information

    I was trying to make a smart folder to house all the pictures in certain folders that were less than a month old. A bunch of these pictures were taken earlier today. Anyway, The "Created" option wasn't showing anything for the past month and after poking around a bit, I realized by opening the picture file's information window that under "Date Created" it just said "--". I tried to figure out in preferences in the finder but you know how limited those options are. I may not really need to know how to write in missing file information. That would be a bit of a pain. I was wondering where the problem was coming from. Why would my iMac not put a date and time stamp in the file's info when I got it off my camera? I need to make my Mac start doing that.

    Oh yeah. I forgot to mention that I tried "Date Modified" and it worked until I would open one of the files. Once they were closed and you went back to the folder, that file was gone. I'm not really sure why. I feel like there's a simple explanation for this and that I was missing something quite obvious. It's driving me nuts. I can't think of a reason that would happen. I tried everything time related. The key part of this is that I want the files to disappear once they are a certain age (I'm thinking about a month). Without that part of the equation, I don't really have a use for the folder at all. I was thinking for some reason that there was no way for a user to change anything in the file's information manually. The answer I think that would have to occur is to find a way to get my Mac to start stamping the date and time. The only reason I don't think it's the camera is that even if the camera didn't stamp the date and time, the OS should have when it came through. Oh yeah, this isn't a new camera and I have pictures from 3 to 4 months back that were successfully imported with the information. ALl the way back to the earliest image taken with this camera (and I've had this camera for a couple years!).

  • Missing port information

    Hi all,
    i am running a simple web service in JWSDP1.3 with tomcat server.When i am running the client application i am getting the output without any problem.Then i modified my server program with some oracle database connection.When i tried the same client program i am getting error.The error as follows:
    java.rmi.ServerException: JAXRPC.JAXRPCSERVLET.28: Missing port information
    Please help to fix this problem.I will be indebted for the same help.Thanks.

    if your server connect to database and uses JDBC you must register your database in the system ODBC registry. I have the same problem and i resolve it in ths way.

Maybe you are looking for