"No tag library could be found with this URI" error while compiling jsp

I am using WebLogic Server 9.2 MP1, JDK 1.5.0_09, Struts 1.3.5
          I am pre-compiling jsp pages with wlappc ant task. However, I got following errors when a jsp page contains ant taglib:
          No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
          The jsp page looks like:
          <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
          wlappc complains taglib could not be retrieved from this uri. Actually, since Struts 1.3.5, those ".tld" files are contained in strust-taglib-1.3.5.jar, folder META-INF/tld/. And I don't need to set anything in web.xml <tag-lib> tab anymore.
          All the jsp pages can be successfully compiled while being deployed to Server. So what am I missing? My build.xml file looks like:
               <target name="compile-jsp">
                    <wlappc source="${src.dir}" output="${out.dir}"
                         keepgenerated="true" optimize="true" classpathref="wl_classpath"/>
               </target>
          where "wl_classpath" contains all the struts related jar files, e.g. struts-core-1.3.5.jar, struts-taglib-1.3.5.jar, ...., and weblogic related jars, e.g. weblogic.jar.....
          I checked "beehive" samples coming with weblogic92, and found it pretty much did the same thing regarding build script and jsp files. So I am totally lost!
          Please help me out. Many thanks.
          Edited by jqian at 02/02/2007 10:24 AM

Yes sorry, you're correct. The uri I mentioned is just 1.0.
Do you have the "Oracle WebLogic Web App Extension" Facet for your web project? If not, try adding that and making sure that there is a weblogic.xml file created in the WEB-INF dir. The weblogic.xml file allows you to deploy usig a shared lib for JSTL. It should contain a library-ref element something like the following, with a version of 1.1.
<wls:library-ref>
<wls:library-name>jstl</wls:library-name>
<wls:specification-version>1.1</wls:specification-version>
<wls:exact-match>true</wls:exact-match>
</wls:library-ref>

Similar Messages

  • No tag library could be found with this URI

    Hi,
              I am trying to deploy the duke application on weblogic 9.2. I have deployed the application is exploded format using the admin console and its in active state.
              When I try to access http://localhost:7001/hello1, I get the following error:
              Compilation of JSP File '/index.jsp' failed:
              index.jsp:28:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
              ^----^
              index.jsp:29:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
              ^----^
              Below are the files used
              web.xml(under WEB-INF)
              ======================
              <?xml version="1.0" encoding="UTF-8"?>
              <web-app xmlns:j2ee="http://java.sun.com/xml/ns/j2ee">
              <display-name>WorkBench War</display-name>
              <description>WorkBench War that contains all the JSP files</description>
              <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
              </welcome-file-list>
              </web-app>
              weblogic.xml
              ============
              <?xml version="1.0" encoding="UTF-8"?>
              <wls:weblogic-web-app xmlns:wls="http://www.bea.com/ns/weblogic/90">
              <wls:context-root>/hello1</wls:context-root>
              </wls:weblogic-web-app>
              index.jsp
              =========
              <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
              <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
              <html>
              <head><title>Hello</title></head>
              <body bgcolor="white">
              Hello, my name is Duke. What's yours?
              <form method="get">
              <input type="text" name="username" size="25">
              <input type="submit" value="Submit">
              <input type="reset" value="Reset">
              </form>
              <c:if test="${fn:length(param.username) > 0}" >
              <%@include file="response.jsp" %>
              </c:if>
              </body>
              </html>
              with regards
              Mahesh Acharya

    This got resolved after I copied the jstl.jar and standard.jar from ajakarta site under WEB-INF/lib.
              Now I get the following error :-(
              index.jsp:1:1: Unable to load the validator class: "org.apache.taglibs.standard.tlv.JstlCoreTLV".
              <%--
              ^---
              --%>
              ---^
              index.jsp:44:2: The tag handler class was not found "org.apache.taglibs.standard.tag.rt.core.IfTag".
              <c:if test="${fn:length(param.username) > 0}" >
              ^--^
              index.jsp:44:2: The tag handler class was not found "org.apache.taglibs.standard.tag.rt.core.IfTag".
              <c:if test="${fn:length(param.username) > 0}" >
              ^--^

  • Weblogic 12c : Spring taglib No tag library could be found with this URI

    Hello,
    I have an application which deploy perfectly on JBOSS 7 and Websphere
    My WAR includes WEB-INF/lib/spring-webmvc.jar which contains all .tld files declaration (stardard stuff up to now....)
    When I try to acces ths page (JSP) I got : No tag library could be found with this URI
    Really don't know why ??

    I think that there is bug in JSP precompilation by weblogic 12c maven plugin and appc. Seems me that jsp compiler can lose sometimes tag libraries it's precompiling. Next retry using exactly same pom can be successful. I get same results using command line and OEPE 12.1.1.0 mave(pom). My java options for maven package are(-Xmx1024m -Xms1024m -XX:PermSize=512m).
    When I get the error it's something like
    "Failed to execute goal com.oracle.weblogic:wls-maven-plugin:12.1.1.0:appc (default) on project ui_elements:
    There are 1 nested errors:
    weblogic.utils.compiler.ToolFailureException: jspc failed with errors :weblogic.servlet.jsp.CompilationException: naviButtons.tag:23:6: The tag handler class was not found "jsp_servlet._tags.__pagelink_tag".
    <T:pageLink url="${naviStatus.previousPage.linkUrl}"
    ^--------^
    naviButtons.tag:23:6: The tag handler class was not found "jsp_servlet._tags.__pagelink_tag".
    <T:pageLink url="${naviStatus.previousPage.linkUrl}"
    Failed to execute goal com.oracle.weblogic:wls-maven-plugin:12.1.1.0:appc (default) on project ui_elements:"
    Next unsuccessful compilation can mention different tags. Very irregular behavior.
    Do you have resolution?

  • No tag library could be found with this URI - MyFaces with weblogic 9.2

    I am deploying an application written using MyFaces(JSF1.1) + Tiles in weblogic 9.2. I am getting the following error when I acess any page..
    Time[2009-01-28 02:02:33,039] [ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'::: ERROR javax.faces.webapp._ErrorPageWriter - - Message[-An exception occurred]
    javax.faces.FacesException
         at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandlerImpl.java:126)
         at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderView(JspTilesTwoViewHandlerImpl.java:110)
         at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
         at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
         at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:146)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:147)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: org.apache.tiles.TilesException: Error including path '/template/template.jsp'. Failed to compile JSP /template/template.jsp
    template.jsp:1:4: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@taglib uri="http://richfaces.org/rich" prefix="rich"%><%@ page contentType="text/html;charset=UTF-8" language="java" %>
    ^----^
    template.jsp:1:4: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@taglib uri="http://richfaces.org/rich" prefix="rich"%><%@ page contentType="text/html;charset=UTF-8" language="java" %>
    ^----^
    template.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    ^----^
    template.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    ^----^
    template.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    ^----^
    template.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    ^----^
    template.jsp:4:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    ^----^
    template.jsp:4:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    ^----^
    template.jsp:5:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
    ^----^
    template.jsp:5:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
    ^----^
         at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:427)
         at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
         at org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandlerImpl.java:124)
         ... 22 more
    Caused by: java.io.IOException: Error including path '/template/template.jsp'. Failed to compile JSP /template/template.jsp
    template.jsp:1:4: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@taglib uri="http://richfaces.org/rich" prefix="rich"%><%@ page contentType="text/html;charset=UTF-8" language="java" %>
    ^----^
    template.jsp:1:4: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@taglib uri="http://richfaces.org/rich" prefix="rich"%><%@ page contentType="text/html;charset=UTF-8" language="java" %>
    ^----^
    template.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    ^----^
    template.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    ^----^
    template.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    ^----^
    template.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    ^----^
    template.jsp:4:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    ^----^
    template.jsp:4:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    ^----^
    template.jsp:5:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
    ^----^
    template.jsp:5:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
    ^----^
         at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:201)
         at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
         at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
         ... 24 more
    Time[2009-01-28 02:02:33,039] [ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'::: TRACE javax.faces.webapp.FacesServlet - - Message[-service end]
    Any idea why this error is coming? I see all the jar files in APP-INF/lib folder.

    Hi fechen,
    Could you please give your solution more detail?
    Here is my weblogic.xml. The issue still exist.
    <!DOCTYPE weblogic-web-app PUBLIC
    "-//BEA Systems, Inc.//DTD Web Application 8.1//EN"
    "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
    <weblogic-web-app>
    <jsp-descriptor>
    <jsp-param>
    <param-name>pageCheckSeconds</param-name>
    <param-value>-1</param-value>
    </jsp-param>
    </jsp-descriptor>
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    <implementation-version>1.2</implementation-version>
    <exact-match>false</exact-match>
    </library-ref>
    <container-descriptor>
    <servlet-reload-check-secs>-1</servlet-reload-check-secs>
    <prefer-web-inf-classes>false</prefer-web-inf-classes>
    </container-descriptor>
    <context-root>/DataServices</context-root>
    </weblogic-web-app>

  • "no type with this name could be found at this location" error..

    Though my project has been successfully compiled.
    But when I open some specific class, it always comes out some error, says "ERROR: no type with this name could be found at this location". I am not quite clear, because the class underlined is absolutely in the project source folder. :(
    Can anybody tell me what wrong with it?:(

    Hi Tom
    There is a known limitation with Workshop where you would see those errors when the java classes (the types that error out) are part of you webproject itself.
    The classes get compiled and get moved into web-inf\classes folder and somehow IDE does not get to see this in its classpath.
    The workaround is to move those classes into a java project which will get compiled into a jar file that will be part of libraries (goes into APP-INF\lib).
    You should not see those errors after the workaround.
    This is a known limitation addressed via CR277571
    Thanks
    Vimala

  • I*sqlplus: Internal error (no valid library could be found)

    Hello
    I have installed Oracle 8.1.7 on Windows NT
    and Oracle 8.1.7 on Sun Sparc Solaris.
    On Windows NT, I have installed i*sqlplus.
    However, when connecting from browser
    in the index file
    I've given a valid username/password of
    a database in Oracle 8.1.7 on Sun Sparc
    and a connect string to the database
    on Oracle 8.1.7 on Sun Sparc.
    This connect string is created using
    Net 8 assistant and this connect string
    is on the Windows NT with Oracle 8.1.7.
    However, instead of connecting I
    am getting the error
    Internal error : (no valid library could be found)
    Can you please help me?
    Thanks

    Cyril,
    Can you connect to the database using the command line version of SQL*Plus? If so, you're using the correct syntax.
    It sounds like iSQL*Plus is not set up correctly. Do you have the necessary 8.1.7 components on the NT machine (Oracle HTTP Server, Net8, SQL*Plus)?
    Review the installation documentation, and/or post more specific information on your set up.
    Alison
    iSQL*Plus Team

  • ISQL*Plus: Internal error (no valid library could be found)

    I install iSQL*PLUS on middle tier (9i AS 1.0.2.1) according to documentation, when I trying to connect I am getting Internal error (no valid library could be found). The TNSNAMES.ORA file is correct.
    Any suggestions will be highly appreciated.

    My first suggestion is to use the HTTP listener on the RDBMS bundle. This is what iSQL*Plus 8.1.7 Beta was built for.
    The HTTP servers on the iAS and Database releases require mods to be compiled differently.
    - CJ

  • Why is it that when I try to open a project, it says "the project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type"?

    It could be opened last night but today it just kept showing "the project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type". I really need to access my video.
    Some help out there, please?

    Hi,
    Please check this out : https://forums.adobe.com/message/4626663#4626663#4626663
    Thank You
    Arjun

  • Hii, i got an iTunes card for $15 and only used $6 in it, but it say I only have $0.37 left. If any one could help me with this, I will be forever grateful.

    Hii, i got an iTunes card for $15 and only used $6 in it, but it say I only have $0.37 left. If any one could help me with this, I will be forever grateful.

    You will need to Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • I am getting an error message that "no photos could be found on this device" when I plug in my ipad to my windows 8.  I open the dcim folder and it shows up empty, although I clearly have photos on my ipad.  I was able to do this just last week.  HELP!

    Help, I am trying to get my pictures from my ipad to my computer (windows 8) and I get the message that "no photos could be found on this device."  When I try to open the dcim folder, it shows up empty.  What can I do?  I have previously been able to import pictures easily.

    Hi, I had the same problem. I finally figured it out. Plug in the USB cord to your ipad, but beofre plugging it into your computer make sure your ipad is not in the locked or sleep mode. Once I did this, my photos showed up and started downloading. Hope that helps you!

  • Anyone could help me with this report. ?

    Hi to all, anyone could help me with this report ?
    I have this one:
    SELECT 'Factura',T0.ItemCode, T0.Dscription, SUM(Quantity) as Cantidad, Sum(LineTotal)  as Total
    FROM INV1 T0 INNER JOIN OINV T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OCRD T2 ON T1.CardCode = T2.CardCode
    INNER JOIN OSLP T3 ON T1.SlpCode = T3.SlpCode
    WHERE ((T1.CardCode >= '[%1]' AND  T1.CardCode <= '[%2]'))
    AND T1.DocDueDate >= '[%4]' AND T1.DocDueDate <= '[%5]'
    AND T3.SlpName >= '[%6]' AND T3.SlpName <= '[%7]'
    GROUP BY T0.ItemCode, T0.Dscription
    UNION
    SELECT 'Abono',T0.ItemCode, T0.Dscription, SUM(Quantity * -1 ) as Cantidad, Sum(LineTotal * - 1) as Total
    FROM RIN1 T0 INNER JOIN ORiN T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OCRD T2 ON T1.CardCode = T2.CardCode
    INNER JOIN OSLP T3 ON T1.SlpCode = T3.SlpCode
    WHERE ((T1.CardCode >= '[%1]' AND  T1.CardCode <= '[%2]') )
    AND T1.DocDueDate >= '[%4]' AND T1.DocDueDate <= '[%5]'
    AND T3.SlpName >= '[%6]' AND T3.SlpName <= '[%7]'
    GROUP BY T0.ItemCode, T0.Dscription
    But now I want to introduce this sentence in:
    Select I.ItemCode,I.ItemName,
    (select price from ITM1 where ItemCode=I.ItemCode and PriceList=1),
    (select price from ITM1 where ItemCode=I.ItemCode and PriceList=2),
    (select price from ITM1 where ItemCode=I.ItemCode and PriceList=3),
    (select price from ITM1 where ItemCode=I.ItemCode and PriceList=4)
    From OITM I
    Could you help me ?
    Many thanks.

    Please try this one:
    SELECT 'Factura',T0.ItemCode, T0.Dscription, SUM(Quantity) as Cantidad, Sum(LineTotal) as Total,
    (select price from ITM1 where ItemCode=T0.ItemCode and PriceList=1) 'Price List 1',
    (select price from ITM1 where ItemCode=T0.ItemCode and PriceList=2) 'Price List 2',
    (select price from ITM1 where ItemCode=T0.ItemCode and PriceList=3) 'Price List 3',
    (select price from ITM1 where ItemCode=T0.ItemCode and PriceList=4) 'Price List 4'
    FROM INV1 T0 INNER JOIN OINV T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OCRD T2 ON T1.CardCode = T2.CardCode
    INNER JOIN OSLP T3 ON T1.SlpCode = T3.SlpCode
    WHERE ((T1.CardCode >= '[%1]' AND T1.CardCode <= '[%2]'))
    AND T1.DocDueDate >= '[%4]' AND T1.DocDueDate <= '[%5]'
    AND T3.SlpName >= '[%6]' AND T3.SlpName <= '[%7]'
    GROUP BY T0.ItemCode, T0.Dscription
    UNION
    SELECT 'Abono',T0.ItemCode, T0.Dscription, SUM(Quantity * -1 ) as Cantidad, Sum(LineTotal * - 1) as Total,
    (select price from ITM1 where ItemCode=T0.ItemCode and PriceList=1) 'Price List 1',
    (select price from ITM1 where ItemCode=T0.ItemCode and PriceList=2) 'Price List 2',
    (select price from ITM1 where ItemCode=T0.ItemCode and PriceList=3) 'Price List 3',
    (select price from ITM1 where ItemCode=T0.ItemCode and PriceList=4) 'Price List 4'
    FROM RIN1 T0 INNER JOIN ORiN T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OCRD T2 ON T1.CardCode = T2.CardCode
    INNER JOIN OSLP T3 ON T1.SlpCode = T3.SlpCode
    WHERE ((T1.CardCode >= '[%1]' AND T1.CardCode <= '[%2]') )
    AND T1.DocDueDate >= '[%4]' AND T1.DocDueDate <= '[%5]'
    AND T3.SlpName >= '[%6]' AND T3.SlpName <= '[%7]'
    GROUP BY T0.ItemCode, T0.Dscription
    Thanks,
    Gordon

  • Any one could help me with this soap client program?

    Any one could help me with this soap client program?
    Below is the request format my partner is expecting to see:
    POST /Service.asmx HTTP/1.1
    Host: 192.168.1.1
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "https://api.abcdefg.com/GetList"
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Body>
              <GetList xmlns="https://api.abcdefg.com/">
                   <username>string</username>
                   <password>string</password>
              </GetList>
         </soap:Body>
    </soap:Envelope>The java client I wrote is blow:
    import javax.xml.soap.*;
    import java.util.Iterator;
    import java.net.URL;
    import java.io.*;
    public class Client {
        public static void main(String [] args) {
            try {
                SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance();
                SOAPConnection connection = soapConnectionFactory.createConnection();
                SOAPFactory soapFactory = SOAPFactory.newInstance();
                MessageFactory factory = MessageFactory.newInstance();
                SOAPMessage message = factory.createMessage();
             // addd SOAPAction;
             MimeHeaders hd = message.getMimeHeaders();
             hd.addHeader("SOAPAction", "https://api.abcdefg.com/GetList");
                // get env and body;
                SOAPPart soapPart = message.getSOAPPart();
                SOAPEnvelope envelope = soapPart.getEnvelope();
             SOAPBody body = envelope.getBody();
                Name bodyName = soapFactory.createName("GetList", "", "https://api.abcdefg.com/");
                SOAPBodyElement bodyElement = body.addBodyElement(bodyName);
                //Constructing the body for the request;
             SOAPElement username = bodyElement.addChildElement("username");
             username.addTextNode("1234567");
             SOAPElement password = bodyElement.addChildElement("password");
             password.addTextNode("7654321");
                System.out.print("\nPrinting the message that is being sent: \n\n");
                message.writeTo(System.out);
                System.out.println("\n\n");
                URL endpoint = new URL ("https://api.abcdefg.com/Service.asmx");
                SOAPMessage response = connection.call(message, endpoint);
                connection.close();
                response.writeTo(System.out);
            }catch (Exception e) {
                 System.err.println("ERROR: ******* " + e.toString());
    }The response my partner's server returned is:
    <faultstring>Server did not recognize the value of HTTP Header SOAPAction:. </faultstring>I used similar code to access the web services provides via tomcat, it works fine...however, for this .NET services it does not work.
    By the way, I also have another version of the clirnt, using JDOM to construct a XML request and wrap with axis message. I got the same error message as above.
    Can anyone point out something for me?
    Any kind of comments will be appreciated!!
    Edited by: Nickolas.Chen on May 6, 2008 7:20 PM

    You will need to Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • PLEASE, ANYONE COULD HELP ME WITH THIS !!!

    PLEASE, ANYONE COULD HELP ME WITH THIS !!!

    hi, i was facing this problem from past few days...solution... WE JUST HAVE TO USE A USB 2.0 HUB... this solved my problem....E1713 is not able to connect to usb 3.0 as it does with 2.0.

  • You cannot embed this FLV file because it consumes too much memory. Could sb help with this problem?

    You cannot embed this FLV file because it consumes too much memory. Could sb help with this problem?

    The error is pretty concise. Do you know how to re-encode the video smaller?

  • Project Server 2010 - Unable to open project, no valid Project Detail Page could be found for the project error

    I have a workflow being deployed for the first time on a farm. When I create a project with an EPT connected to the workflow it runs and can enter the required field in a PDP.  Then I Submit the workflow to go to the next stage and I get the "Unable
    to open project, no valid Project Detail Page could be found for the project" error.  After that the project is stuck on the same error.  All of the 18 stages have PDP and Schedules assigned to them.
    Any ideas on why the workflow cannot see the PDPs?  Is there a farm permissions that I am missing?  Thanks!

    Hi David,
    It starts to be a bit technical for me, but here is what I found on the web (seems to be an authentication issue with Sharepoint 2010):
    http://social.technet.microsoft.com/Forums/en-US/120ab535-63d2-4205-a51f-1987e9c0cf79/sharepoint-fba-the-content-type-texthtml-charsetutf8-of-the-response-message-does-not-match-the
    http://social.msdn.microsoft.com/Forums/silverlight/en-US/5cc70ff6-50d9-4cd3-b092-12007f4e495b/response-message-contenttypebindingtype-mismatch
    http://stackoverflow.com/questions/5263150/the-content-type-text-html-charset-utf-8-of-the-response-message-does-not-match
    Hope it will help you going forward in resolving your issue.
    Guillaume Rouyre - MBA, MCP, MCTS

Maybe you are looking for