Trying to generate a WCF Proxy - where is SlSvcUtil.exe?

I was hoping/expecting to see SlSvcUtil.exe in Silverlight Beta2, but I can't seem to find it. I'd like to not have to "Add Service Reference".
I can't find SlSvcUtil.exe. Did it
a) Not ship with Beta2?, or
b) I am not looking at the right place?
Thanks.
Sahil Malik

Hi Sahil,
You were right from the beginning. SvcUtil will not generate compatible proxies. What you need is SlSvcUtil, which, according to the Silverlight Web Services Team, is supposed to ship in Beta 2 (it is mentioned specifically here:
http://blogs.msdn.com/silverlightws/archive/2008/03/11/silverlight-2-0-rundown-of-webservices-related-functionality-in-beta1.aspx).
As you know this file is missing in the Beta 2 distribution. So "We will ship the silverlight version of SvcUtil, SlSvcUtil.exe, in Beta2" wasn't accurate. The SDK does contain "Microsoft.Silverlight.ServiceReference.dll" located at C:\Program Files\Microsoft
SDKs\Silverlight\v2.0\Tools\ServiceReference, and this seems to contain the API to directly call GenerateServiceEndpoint and build your proxy. 
Daniel

Similar Messages

  • Unknown namespace error when generating a client proxy

    We are using WAS 7.0 and I'm trying to generate a client proxy for an inhouse webservice via Object Navigator (SE80). When using the Wizard I get an error message from the Librabry Handler saying: "Unknown namespace: http://schemas.xmlsoap.org/soap/encoding".
    A check by the colleagues who provide this Webservice says that the wsdl is ok.
    Any idea for this error message?
    Many Thanks.
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://saphrmitarbeiterdaten.de.tnt.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://saphrmitarbeiterdaten.de.tnt.com" xmlns:intf="http://saphrmitarbeiterdaten.de.tnt.com" 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 Aug 08, 2005 (11:49:10 PDT)-->
    <wsdl:types>
      <schema targetNamespace="http://saphrmitarbeiterdaten.de.tnt.com" xmlns="http://www.w3.org/2001/XMLSchema">
       <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
       <complexType name="SAPHRMitarbeiterDatenMitarbeiter">
        <sequence>
         <element name="Bukrs" nillable="true" type="xsd:string"/>
         <element name="Werks" nillable="true" type="xsd:string"/>
         <element name="Kostl1" nillable="true" type="xsd:string"/>
         <element name="Kostl2" nillable="true" type="xsd:string"/>
         <element name="Persk" nillable="true" type="xsd:string"/>
         <element name="Pernr" nillable="true" type="xsd:string"/>
         <element name="Nachn" nillable="true" type="xsd:string"/>
         <element name="Vorna" nillable="true" type="xsd:string"/>
         <element name="Eintr" nillable="true" type="xsd:string"/>
         <element name="Austr" nillable="true" type="xsd:string"/>
         <element name="Sacha" nillable="true" type="xsd:string"/>
         <element name="Sachn" nillable="true" type="xsd:string"/>
         <element name="IAKen" nillable="true" type="xsd:string"/>
         <element name="IABeg" nillable="true" type="xsd:string"/>
         <element name="IAEnd" nillable="true" type="xsd:string"/>
         <element name="Level" nillable="true" type="xsd:string"/>
         <element name="Stelle" nillable="true" type="xsd:string"/>
         <element name="Abtlg" nillable="true" type="xsd:string"/>
         <element name="Mgr_Pernr" nillable="true" type="xsd:string"/>
         <element name="Mgr_Name" nillable="true" type="xsd:string"/>
        </sequence>
       </complexType>
       <complexType name="ArrayOfSAPHRMitarbeiterDatenMitarbeiter">
        <complexContent>
         <restriction base="soapenc:Array">
          <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:SAPHRMitarbeiterDatenMitarbeiter[]"/>
         </restriction>
        </complexContent>
       </complexType>
      </schema>
    </wsdl:types>
       <wsdl:message name="ReadDataResponse">
          <wsdl:part name="ReadDataReturn" type="impl:ArrayOfSAPHRMitarbeiterDatenMitarbeiter"/>
       </wsdl:message>
       <wsdl:message name="ReadDataRequest">
          <wsdl:part name="in0" type="xsd:string"/>
          <wsdl:part name="in1" type="xsd:string"/>
          <wsdl:part name="in2" type="xsd:string"/>
          <wsdl:part name="in3" type="xsd:string"/>
       </wsdl:message>
       <wsdl:portType name="SAPHRMitarbeiterDatenRead">
          <wsdl:operation name="ReadData" parameterOrder="in0 in1 in2 in3">
             <wsdl:input message="impl:ReadDataRequest" name="ReadDataRequest"/>
             <wsdl:output message="impl:ReadDataResponse" name="ReadDataResponse"/>
          </wsdl:operation>
       </wsdl:portType>
       <wsdl:binding name="SAPHRMitarbeiterDatenReadSoapBinding" type="impl:SAPHRMitarbeiterDatenRead">
          <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="ReadData">
             <wsdlsoap:operation soapAction=""/>
             <wsdl:input name="ReadDataRequest">
                <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://saphrmitarbeiterdaten.de.tnt.com" use="encoded"/>
             </wsdl:input>
             <wsdl:output name="ReadDataResponse">
                <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://saphrmitarbeiterdaten.de.tnt.com" use="encoded"/>
             </wsdl:output>
          </wsdl:operation>
       </wsdl:binding>
       <wsdl:service name="SAPHRMitarbeiterDatenReadService">
          <wsdl:port binding="impl:SAPHRMitarbeiterDatenReadSoapBinding" name="SAPHRMitarbeiterDatenRead">
             <wsdlsoap:address location="http://194.55.55.58:7001/SAPHRMitarbeiterDatenWebservice/services/SAPHRMitarbeiterDatenRead"/>
          </wsdl:port>
       </wsdl:service>
    </wsdl:definitions>

    Hi Michael,
    the use of soapenc:Array is not supported. There are other ways to declare arrays:
    -In a DESCRIPTION, array declarations MUST NOT extend or restrict the soapenc:Array type.
    -In a DESCRIPTION, array declarations MUST NOT use wsdl:arrayType attribute in the type declaration.
    -In a DESCRIPTION, array declaration wrapper elements SHOULD NOT be named using the convention ArrayOfXXX.
    -A MESSAGE containing serialized arrays MUST NOT include the soapenc:arrayType attribute.
    So you need to copy the WSDL file to a local file and edit it, afterwards, use it to generate the proxy.
    Maybe you should have a look at the following url:
    http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16556272
    I hope this will help you to solve the problem.
    Edited by: Duhan Bernhard on Nov 7, 2008 12:29 PM

  • New way generating of Java Proxy to support parallel processing

    Hi All!!
    To the Java Proxy Server supports the processing of several executions in parallel way, a new way or generation has been released. On the Integration Directory, when you select an Inbound Message Interface and go to Java Proxy Generation, 2 .zip archives are generated, one for the execution in sequential way (XXX.ZIP) and other for the execution in parallel way (XXX_PARARELL.ZIP).
    I have tried to generate the Java Proxy only with XXX_PARARELL.ZIP and I think is not possible, because no EJB Candidate is generated.
    Somebody knows how I can generate the Java Proxy?
    Thanks and regards,
    Manuel Míguez.

    a bit of light reading for you
    http://onesearch.sun.com/search/developers/index.jsp?and=java.lang.ClassFormatError+Bad+magic+number&nh=10&Search.x=26&Search.y=11&phr=&qt=&not=&field=&since=&col=devforums&rf=0

  • Got error when trying to generate Java proxy jar file for webservice

    Hi,
    I am having a warning message when trying to generate java proxy jar file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly appreciated.
    Thanks!!!
    Naichen
    [ModifyPNRWSContract.wsdl]

    Hi Naichen,
    I was able to successfully run both the autotype and clientgen Ant task, on the
    WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
    Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
    to try with that version.
    Regards,
    Mike Wooten
    "Naichen Liu" <[email protected]> wrote:
    >
    >
    >
    Hi,
    I am having a warning message when trying to generate java proxy jar
    file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this
    service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following
    exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United
    Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly
    appreciated.
    Thanks!!!
    Naichen

  • Change the default namespace in soap message generated by webservice proxy

    I have a requirement where the default namespace generated by the webservice proxy has to be changed. For example, below is a soap request message generated by the proxy:
    <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:ns0="http://siebel.com/asi/"
    xmlns:ns1="http://www.siebel.com/xml/getAllSecurityValuesResponse/PS"
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <env:Header>
    <wsse:Security
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    env:mustUnderstand="1"
    xmlns:xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:UsernameToken
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:Username>kaoliver</wsse:Username>
    <wsse:Password
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">db2</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </env:Header>
    <env:Body>
    <ns0:SearchSecurityServicegetAllSecurityValues_1>
    <Login>kaoliver</Login>
    </ns0:SearchSecurityServicegetAllSecurityValues_1>
    </env:Body>
    </env:Envelope>
    In the above message, I want to change the oasis namespace to a different namespace. Where are the default namespaces defined in the proxy classes generated by Jdev so that I can change them?
    Thanks in advance,
    Warm Regards,
    Shashi Anand B

    >
    If I define a prefix P2L in the expression editor to correspond to "http://foo.com/namespace/business", I'm able to reference the ExecuteResponse element as "./P2L:ExecuteResponse", but then I get stuck.
    If I try use a Rename action to change the namespace for "./P2L:*", only the ExecuteResponse element is renamed to <sof:ExecutResponse xmlns:sof="http://foo.com/namespace/proxy">. Upstream in the calling application, there's an XML stream reader exception because (I assume) ExecuteResult is not found and parsed.
    >
    You pattern "./P2L:\*" matches just one element so it's ok that the payload's namespace wasn't touched. If you want to rename namespace for all elements try "//P2L:*". However, I'm not sure whether this is what you want. Try do describe what you do, what you want and what you get instead.
    >
    I also tried using a Replace action against "./P2L:ExecuteResponse/@xmlns" to replace its contents with "http://foo.com/namespace/proxy". I also tried "./P2L:ExecuteResponse/@P2L:xmlns". Neither worked.
    >
    I think it's not a good approach to replace content of xmlns as this attribute is not a common xml attribute.

  • Performance Problem with WCF proxy

    I communication with SAP XI and Microsoft BizTalk from a .NET 3.0 WCF proxy. I receive about 5 MB of data. When I use a .NET 2.0 generated proxy (Visual Studio) the calls are quite fast and take nearly the same time. If I use a WCF (.NET 3.0) proxy the communication with BizTalk is very fast, but with XI it takes extremely long.
    What's the reason for that? Does the WCF proxy parse and validate the message? (5 MB are quite much..., with a few KB I don't have this problem) How can I deactivate the validation?
    thanks in advance

    Hi Thomas,
    not sure what you mean with deactivate validation. have you check with WCF Performance Counters where the problem can be? For more information about performance countes see http://blogs.msdn.com/sonuarora/. Let me now what the counters say, mazbe I'm able to help you then with more details.
    - Juergen

  • Error in generating the Java Proxy

    Hi all,
    While generating a Java Proxy, I am getting an error :
    Unable to generate proxies
    Construct not supported
    Can anybody please suggest the possible reason and solution for the same.
    Thanks and best regards,
    Kulwant

    In the Integration Repository documentation for External Definitions you find a hint where you can find a document describing restrictions on the handling of XSD.
    In that document you can see, that references to global elements are not supported by the java proxy generation.
    Therefore, you have to edit your document accordingly.
    regards
    chandra

  • Error when generating Web Services Proxy for SCA Application Module

    Hello,
    I'm trying to create Web Services for a simple Application Module with JDeveloper 11g (11.1.1.3.0).
    I start a new ADF Project, I create an Application Module as simple as possible : it contains only a simple View Object on the DEPT Entity.
    On my Application Module, I choose "Service Interface" and I add my View Object in the service interface.
    I test my Web Service in the Embedded Weblogic Server, it works well. (I succeed in using the Get operation, for example).
    But when I try to generate a Web Service proxy (right-click on the WSDL File -> Generate Web Service Proxy), It always fail with such errors :
    oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/C:/JDeveloper/mywork/ApplicationAppelServiceSCA/Model/src/model/common/AppModuleService.wsdl": 'unset' is already defined'Bytes' is already defined'ref' is already defined'Duration' is already defined'Types' is already defined'Character' is already defined'type' is already defined'Day' is already defined'nestedInterfaces' is already defined'Date' is already defined'datagraph' is already defined'Type' is already defined'Integer' is already defined'ModelsType' is already defined'ChangeSummaryType' is already defined'instanceClass' is already defined'Month' is already defined'DataObject' is already defined'javaClass' is already defined'LongObject' is already defined'DateTime' is already defined'dataObject' is already defined'YearMonth' is already defined'ShortObject' is already defined'Long' is already defined'types' is already defined'JavaInfo' is already defined'IntObject' is already defined'Boolean' is already defined'DoubleObject' is already defi...
    Can someone help me to understand this error ?
    i never manually edited the WSDL File, so I don't understand why the generated WSDL or XSD files might contain errors.
    Thanks for your Help,
    Laurent

    We have the same problem, and the problem was in the xsd import:
    The wdsl import a schema that import other schema, the second import use a relative path, that was wrong.
    So check the xsd import sequence....

  • Trying to generate a pdf with jasper reports

    Fellas,
    i hav trying to generate a pdf with jasper reports, but i cant. I create a file .jasper with iReports. This is my code:
    emite.java
    package utilitarios;
    //import net.sf.jasperreports
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.view.JasperViewer;
    import java.sql.*;
    import java.util.*;
    import javax.swing.*;
    import java.util.HashMap;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class emitebl {
    private static Connection getConnection( ) throws ClassNotFoundException, SQLException{
    String driver = "org.postgresql.Driver";
    String url = "jdbc:postgresql://localhost/sist";
    String user = "usuario";
    String password = "";
    Class.forName(driver);
    Connection con = DriverManager.getConnection( url, user, password );
    return con;
    public void geraRelatorio( ) throws JRException, Exception{
    Connection con = getConnection( );
    Statement stm = con.createStatement( );
    String query = "SELECT * FROM emissaobl WHERE id=4";
    ResultSet rs = stm.executeQuery(query);
    JRResultSetDataSource jrRS = new JRResultSetDataSource(rs);
    Map parameters = new HashMap();
    JasperFillManager.fillReportToFile("emitebl.jasper",parameters,jrRS);
    JasperExportManager.exportReportToPdfFile("emitebl.jrprint");
    JasperViewer.viewReport("emissao_bl.pdf",false);
    } emissao.jsp:
    <%@ page import="utilitarios.*" %>
    <%
    new emitebl().geraRelatorio();
    %>Following the error message exception:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: emitebl.jasper
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
         org.apache.jsp.emissaobl.exportapdf_jsp._jspService(exportapdf_jsp.java:76)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    root cause
    net.sf.jasperreports.engine.JRException: emitebl.jasper
         net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:73)
         net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:270)
         utilitarios.emitebl.geraRelatorio(emitebl.java:37)
         org.apache.jsp.emissaobl.exportapdf_jsp._jspService(exportapdf_jsp.java:54)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)where i hav to put the .jasper file?

    Hi,
    If you have placed your .jrxml file say in C:\reports, and when you use compileReportToFile(jrxmlFileName), then the jasper file will be created in the same directory C:\report with the same file name with .jasper extension. If you want a pdf report then specify the same location and file name with '.pdf' extension as destination .
    Hope this helps

  • Trying to generate a pdf with jasper

    Fellas,
    i hav trying to generate a pdf with jasper reports, but i cant. I create a file .jasper with iReports. This is my code:
    emite.java
    package utilitarios;
    //import net.sf.jasperreports
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.view.JasperViewer;
    import java.sql.*;
    import java.util.*;
    import javax.swing.*;
    import java.util.HashMap;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class emitebl {
    private static Connection getConnection( ) throws ClassNotFoundException, SQLException{
    String driver = "org.postgresql.Driver";
    String url = "jdbc:postgresql://localhost/sist";
    String user = "usuario";
    String password = "";
    Class.forName(driver);
    Connection con = DriverManager.getConnection( url, user, password );
    return con;
    public void geraRelatorio( ) throws JRException, Exception{
    Connection con = getConnection( );
    Statement stm = con.createStatement( );
    String query = "SELECT * FROM emissaobl WHERE id=4";
    ResultSet rs = stm.executeQuery(query);
    JRResultSetDataSource jrRS = new JRResultSetDataSource(rs);
    Map parameters = new HashMap();
    JasperFillManager.fillReportToFile("emitebl.jasper",parameters,jrRS);
    JasperExportManager.exportReportToPdfFile("emitebl.jrprint");
    JasperViewer.viewReport("emissao_bl.pdf",false);
    }emissao.jsp:
    <%@ page import="utilitarios.*" %>
    <%
    new emitebl().geraRelatorio();
    %>Following the error message exception:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: emitebl.jasper
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
    org.apache.jsp.emissaobl.exportapdf_jsp._jspService(exportapdf_jsp.java:76)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    root cause
    net.sf.jasperreports.engine.JRException: emitebl.jasper
    net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:73)
    net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:270)
    utilitarios.emitebl.geraRelatorio(emitebl.java:37)
    org.apache.jsp.emissaobl.exportapdf_jsp._jspService(exportapdf_jsp.java:54)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)where i hav to put the .jasper file?

    import java.io.*;
    import java.net.*;
    import java.sql.*;
    import java.util.*;
    import java.sql.*;
    import java.io.File;
    import java.util.Date;
    import net.sf.jasperreports.engine.*;
    import net.sf.jasperreports.view.JasperViewer;
    class dbAccessi
              public static void main (String args []) throws SQLException
                        try{
                             //DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
                                       Class.forName ("oracle.jdbc.driver.OracleDriver");
                             Connection conn=DriverManager.getConnection("jdbc:oracle:thin:@10.236.8.49:1521:heb","hebuser","hebpass");
         // @machineName:port:SID, userid, password
                                       int i=0,j=0;
                             Statement stmt = conn.createStatement();
                             ResultSet rs = stmt.executeQuery("select age,name from java1");
                                       while (rs.next())
                                  System.out.println (rs.getString(1));
                                  System.out.println (rs.getString(2));
                                  JRResultSetDataSource jrRS = new JRResultSetDataSource(rs);
                                            Map parameters = new HashMap();
                                            JasperFillManager.fillReportToFile("newone.jasper",parameters,jrRS);
                                            JasperExportManager.exportReportToPdfFile("emitebl.jrprint");
                                            JasperViewer.viewReport("emissao_bl.pdf",false);
                                       rs.close();
                                       stmt.close();
                   conn.close();
                             catch(Exception e)
                                  e.printStackTrace();
    for the above given code, I got error message when i run the code as a standalone in cmd prompt and the jasper file specified(may be error occured in .jasper file) could please send the req jasper file to load it.
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lo
    gging/LogFactory
    at net.sf.jasperreports.engine.fill.JRFillDataset.<clinit>(JRFillDataset
    .java:72)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.jav
    a:443)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFi
    ller.java:92)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFi
    ller.java:74)
    at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:
    113)
    at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
    nager.java:428)
    at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(Jasper
    FillManager.java:319)
    at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(Jasper
    FillManager.java:275)
    at dbAccessi.main(dbAccessi.java:30)
    thanks in advance

  • RoboHelp/RoboPDF freezes when trying to generate PDF printed documentation

    Hi,
    I am using RoboHelp HTML X5.0.2 build 801 with Win2k and Word
    2000. Whenever I try to generate printed documentation in PDF
    format RoboHelp freezes and doesn't respond until I kill the
    program. I also tried first generating the printed documentation in
    MS Word .doc format and then tried to generate the PDF from within
    Word. RoboPDF kicks in this time and freezes along with MS Word.
    Any ideas why this is happening?

    It works on anything we throw at it. You could try the
    supplied sample projects.
    Have you tried creating a document directly in Word and
    creating a PDF from that?
    Where is you normal template stored? Locally?
    Take a look at Snippet 33 on my site. You should be getting
    an error message if that is the problem but it might be worth
    checking the path anyway.
    Click
    here.
    If that does not fix it, email me offline.

  • Generating a consumer proxy

    I have reached total frustration.
    I am trying to generate a service consumer proxy for an external, non-sap web service. I have tried several different web services during testing, and all but the most basic ones failed with a library error, with the horrible message of "Not implemented".
    I have begun to wonder just what IS implmented. Seriously, though, is there a way to find out the specific thing that is causing the whole proxy generation to fail. As i said, all it says is "Not Implemented" without any idea of WHAT is not implemented.
    I am at ECC6, SP14. We cannot do an upgrade just to make this work.
    Beyond that, is there a way to call external, non-sap web services without a proxy object? i would love to have a proxy object, of course, but this wizard is about the worst thing i have ever seen.
    sorry for being so negative, but i have been fighting this for 3 weeks, scanning this sight, browsing OSS, and the only answer i have gotten is "install service pack 17", which is out of the question.

    Hi,
    >sorry for being so negative, but i have been fighting this for 3 weeks, scanning this sight, browsing >OSS, and the only answer i have gotten is "install service pack 17", which is out of the question.
    You must be new to the SAP world because what you describe is part of the "real SAP experience" !
    (Fighting with OSS notes and support packages)  
    >Beyond that, is there a way to call external, non-sap web services without a proxy object?
    Of course, there is. If you are ready to program low level http request with abap object...
    An other possibility is what we did with was 6.20 when the SAP proxy was not available.
    We used RFC server programs written in .NET with the SAP .NET  connector.
    It was a sort of connector converting RFC calls in web service calls.
    Regards,
    Olivier

  • Errors/warnings occurred when generating the local proxy dll and VI wrappers for web service

    Hello,
    I'm new to web services - trying to import a WSDL that was created by an outside vendor and placed on a company server.  I imported a previous version successfully.  The error I'm getting doesn't make a lot of sense to me, here it is:
    The following errors/warnings occurred when generating the local proxy dll and VI wrappers for this web service.
    Can't generate files.
    Possible reasons are:
    1. The output file(s) might be read-only.
    Remove the read-only attribute and import the Web service again.
    2. A proxy DLL that LabVIEW created under the same file path exists in memory.
    Restart LabVIEW and import the Web service again.
    I don't see any read-only attributes on the output files and I've tried restarting LabVIEW - no luck.  Any help is greatly appreciated.
    Thanks,
    Al Rauch
    Merck & Co., Inc.

    Aaron,
    I was able to successfully import and run the web services from the WSDL file in question in LV2009 on a different computer than the one on which I had the original problem.  Unfortunately I am still having the original problem on the project computer and will need to get it working there . . . still looking for a solution to that.  Apparently LV2009 is perfectly capable of importing and running this WSDL file, but there is something still in the way on the project PC.
    Thanks,
    Al

  • Generating WEB SErvice proxy client error: (type octet-stream)

    HI,
    I'm trying to generate a proxy client from a WSDL which has an element defined as "octet-stream" from http://xml.apache.org/xml-soap
    But I'm getting this error: "model error: type {http://xml.apache.org/xml-soap} octet-stream not found"
    Some suggestion...what can i do.
    thanks

    HI,
    I'm trying to generate a proxy client from a WSDL which has an element defined as "octet-stream" from http://xml.apache.org/xml-soap
    But I'm getting this error: "model error: type {http://xml.apache.org/xml-soap} octet-stream not found"
    Some suggestion...what can i do.
    thanks

  • Is it possible to rename a property when generate web service proxy?

    We have issue to generate client proxy because of following schema:
    <xs:complexType name="Provider">
    <xs:sequence>
    <xs:element minOccurs="0" name="SSN" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="Ssn" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    This is from our vendor's wsdl file. Two "ssn" with different case are intentionally kept for backward compatibility. Is there a way to get around the issue? Here is the error message:
    Caused by: java.lang.IllegalArgumentException: trying to create the same field twice: ssn
         at com.sun.codemodel.JDefinedClass.field(JDefinedClass.java:419)
         at com.sun.codemodel.JDefinedClass.field(JDefinedClass.java:390)
         at com.sun.tools.xjc.generator.bean.field.AbstractFieldWithVar.createField(AbstractFieldWithVar.java:72)
         at com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:89)
         at com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:76)
         at sun.reflect.GeneratedConstructorAccessor175.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at com.sun.tools.xjc.generator.bean.field.GenericFieldRenderer.generate(GenericFieldRenderer.java:64)
         at com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:79)
         at com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:754)
         at com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:542)
         at com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java:242)
         at com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:182)
         at com.sun.tools.xjc.model.Model.generateCode(Model.java:286)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:252)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
         at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:134)
         at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2255)
         at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:194)
         at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:140)
         at com.sun.tools.ws.wscompile.WsimportTool.buildWsdlModel(WsimportTool.java:261)
         at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool.buildWsdlModel(JDevWsimportTool.java:381)
         at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool.buildWsdlModel(JDevWsimportTool.java:344)
         at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool.access$000(JDevWsimportTool.java:91)
         at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool$1.derrive(JDevWsimportTool.java:161)
         at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool$1.derrive(JDevWsimportTool.java:157)
         at oracle.javatools.util.deferred.DerivedCache$CachedResource.get(DerivedCache.java:144)

    I tried to add a binding file to change one of the ssn to ssn1. Now The error message changed to "[ERROR] Two declarations cause a collision in the ObjectFactory class." We noticed if we generate the client proxy with default setting. It works fine (for other web services). Once we start to customize the generated code by changing package name or in this particular case change property name, Jdeveloper starts to complain the name collision. Does anyone know how to solve this? We prefer not to rename those names since there are too many name collisions. Besides the generated code will deviate from document too much if we try to rename those names with conflict.

Maybe you are looking for

  • How to upload  a excel file in webdynpro? Please help!

    Hi Experts,     I have a requirement where I need to upload a  excel file in my webdynpro for ABAP report.     I have used the fileupload UI element in my view and a upload button.     However when I test the application I found that it is getting fi

  • Wrong excise duty during miro

    sap gurus, our scenario is we capture excise invoice then migo(GR) then post excise invoice and then after that miro. In many cases we need to change excise duty in j1iex and then we post excise through j1iex. The changes that we do in excise duty sh

  • Installing 9.2.0.4 x86_x64 on oracle Enterprise linux 4.8 x86_x64

    Hi , I am installing only clinet from Oracle database 9.2.0.4 x86_x64 software on Enterprise linux 4.8 x86_x64 but when i am trying to open oemapp console return error Command not found. oracle@ilooop bin] oemapp console bash : oemapp : command not f

  • PROTECT DOES NOT SHOW CONTACTS IN BACKED UP DATA; 8530

    Hello, when I attempted to restore my data from Blackberry Protect I do not see CONTACTS in the list of data that has been backed upand available to be restored. I checked the under OPTIONS in the app menu to verify that I had selected contacts and a

  • Importing CDs to itunes

    Hello, I've been having some problems importing music into itunes from CD. I've had no luck with the hypothesis that itunes is to blame so I thought I'd see if anyone had had a similar experience with their disk drive. The problem only occurs when im