niras iva

Greenhorn
+ Follow
since May 10, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by niras iva

Am using Eclipse 3.7.0,Am trying to install Groovy and i used this Link webpage

While installing this /link i got error Like this.How Can i Rectify this problem

Error Message:

not complete the install because one or more required items could not be found.
Software being installed: Groovy-Eclipse Feature 2.0.0.xx-20091027-1400-e34 (org.codehaus.groovy.eclipse.feature.feature.group 2.0.0.xx-20091027-1400-e34)
eclipse ide groovy

niras iva wrote:How to create a own Appender in log4j?

I publish a live Stream from client to server. There are many clients (many Streams).

Now I want to get the details of that Streaming. So I used Log fields. That fields return some value but I didn't get the stream details.. I use the wowza server for streaming.
I tried here My Code:


am getting Log fields only OnConnect But I do not receive while I publish my Streaming, it returns the null value..Here my code:

12 years ago
Hello Sir:
i create a own file My coding is here,

i want to write the value of s in my file.

i want to take the value of s and write into my new file..how can i do this?
12 years ago
Sorry to generate the .class file without using main function
My Application is in wowza server,i want to create the .class file
12 years ago
hello sir how can i generate the class file without using main function?
12 years ago
While running my log file i got error like this.how can i rectify this problem?

Configure logging: file:///C:/Program Files/Wowza Media Systems/Wowza Media Server 2.2.3_1/conf/log4j.properties
log4j:ERROR Could not instantiate class [com.wowza.wms.plugin.logging.WowzaAppender].
java.lang.ClassNotFoundException: com.wowza.wms.plugin.logging.WowzaAppender
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.log4j.helpers.Loader.loadClass(Unknown Source)
at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(Unknown Source)
at org.apache.log4j.helpers.OptionConverter.instantiateByKey(Unknown Source)
at org.apache.log4j.PropertyConfigurator.parseAppender(Unknown Source)
at org.apache.log4j.PropertyConfigurator.parseCategory(Unknown Source)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(Unknown Source)
at org.apache.log4j.PropertyConfigurator.doConfigure(Unknown Source)
at org.apache.log4j.PropertyConfigurator.configure(Unknown Source)
at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(Unknown Source)
at com.wowza.wms.logging.WMSLoggerFactory.initializeLogging(Unknown Source)
at com.wowza.wms.server.Server.initLogging(Unknown Source)
at com.wowza.wms.server.Server.start(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.wowza.wms.bootstrap.Bootstrap.startServer(Bootstrap.java:249)
at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:48)
log4j:ERROR Could not instantiate appender named "serverAccess".
hello sir
When server is started ,the log files print the log statement in log files..how can i print the that log statement in my own file?
Hello sir:
My Web service is here:http://www.smster.in/testwebservice/service.asmx now i want to cal the web service using Appender..How can i cal ?
How to create a own Appender in log4j?
Sir

Actually My proxy classes are generated without error but i got warning message.My web service also generated without error,i copied that generated classes to my server and calling that web service .while coping that proxy classes i got a error like this.

The method getPort(QName, Class<T>) in the type Service is not applicable for the arguments (QName,
Class<ServiceSoap>, WebServiceFeature[])

MyJdk version:1.6.0_17
jaxws version :2.1

To generate the proxy classes i used this command:
C:\Program Files\jav\jdk1.6.0_17\bin>wsimport -s code -p helloclient -extension
http://10.0.3.24/Test/Service.asmx?wsdl
parsing WSDL...


[WARNING] SOAP port "ServiceSoap12": uses a non-standard SOAP 1.2 binding.
line 138 of http://10.0.3.24/Test/Service.asmx?wsdl

generating code...


compiling code...


C:\Program Files\jav\jdk1.6.0_17\bin>



My webservice code:
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <wsdl:types>
- <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
- <s:element name="HelloWorld">
<s:complexType />
</s:element>
- <s:element name="HelloWorldResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:base64Binary" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="Show">
<s:complexType />
</s:element>
- <s:element name="ShowResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="ShowResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="Insert">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="CSBytes" type="s:long" />
<s:element minOccurs="1" maxOccurs="1" name="SCBytes" type="s:long" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="InsertResponse">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="InsertResult" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
- <wsdl:message name="HelloWorldSoapIn">
<wsdl:part name="parameters" element="tns:HelloWorld" />
</wsdl:message>
- <wsdl:message name="HelloWorldSoapOut">
<wsdl:part name="parameters" element="tns:HelloWorldResponse" />
</wsdl:message>
- <wsdl:message name="ShowSoapIn">
<wsdl:part name="parameters" element="tns:Show" />
</wsdl:message>
- <wsdl:message name="ShowSoapOut">
<wsdl:part name="parameters" element="tns:ShowResponse" />
</wsdl:message>
- <wsdl:message name="InsertSoapIn">
<wsdl:part name="parameters" element="tns:Insert" />
</wsdl:message>
- <wsdl:message name="InsertSoapOut">
<wsdl:part name="parameters" element="tns:InsertResponse" />
</wsdl:message>
- <wsdl:portType name="ServiceSoap">
- <wsdl:operation name="HelloWorld">
<wsdl:input message="tns:HelloWorldSoapIn" />
<wsdl:output message="tns:HelloWorldSoapOut" />
</wsdl:operation>
- <wsdl:operation name="Show">
<wsdl:input message="tns:ShowSoapIn" />
<wsdl:output message="tns:ShowSoapOut" />
</wsdl:operation>
- <wsdl:operation name="Insert">
<wsdl:input message="tns:InsertSoapIn" />
<wsdl:output message="tns:InsertSoapOut" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="ServiceSoap" type="tns:ServiceSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="HelloWorld">
<soap:operation soapAction="http://tempuri.org/HelloWorld" style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="Show">
<soap:operation soapAction="http://tempuri.org/Show" style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="Insert">
<soap:operation soapAction="http://tempuri.org/Insert" style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:binding name="ServiceSoap12" type="tns:ServiceSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="HelloWorld">
<soap12:operation soapAction="http://tempuri.org/HelloWorld" style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="Show">
<soap12:operation soapAction="http://tempuri.org/Show" style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
- <wsdl:operation name="Insert">
<soap12:operation soapAction="http://tempuri.org/Insert" style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="Service">
- <wsdl:port name="ServiceSoap" binding="tns:ServiceSoap">
<soap:address location="http://10.0.3.24/Test/Service.asmx" />
</wsdl:port>
- <wsdl:port name="ServiceSoap12" binding="tns:ServiceSoap12">
<soap12:address location="http://10.0.3.24/Test/Service.asmx" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>



12 years ago
String is immutable:

String s="hello";

s+="bfgkjdf";

Now the value of s is changed.. then how string is immutable?please explian it clearly
12 years ago
Hai
i generated a proxy classes by using wsimport commands .. while compiling tat proxy classes i got aerror like this please rectify this problem...My Web service is in .Net and my jdk version is 1.6.17 and my jaxws version is 2.1
The method getPort(QName, Class<T>) in the type Service is not applicable for the arguments (QName,
Class<ServiceSoap>, WebServiceFeature[])
12 years ago
I created a web service in .NET Framework,and i generated a proxy classes.while running my Application I got error like this

[WARNING] SOAP port "ServiceSoap12": uses a non-standard SOAP 1.2 binding.
line 138 of http://10.0.3.24/Test/Service.asmx?wsdl
How can i rectify this problem?
12 years ago