Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 34329 invoked from network); 8 May 2007 09:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2007 09:54:07 -0000 Received: (qmail 95761 invoked by uid 500); 8 May 2007 09:54:03 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 95738 invoked by uid 500); 8 May 2007 09:54:03 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 95727 invoked by uid 99); 8 May 2007 09:54:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 02:54:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of pzfreo@gmail.com designates 66.249.82.239 as permitted sender) Received: from [66.249.82.239] (HELO wx-out-0506.google.com) (66.249.82.239) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 02:53:55 -0700 Received: by wx-out-0506.google.com with SMTP id h28so1653004wxd for ; Tue, 08 May 2007 02:53:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dHKZOdMHK6RaWKxW4rfZCm5szLrRxOva0lBaR7SmpJAw4LGG1qJRkGROxlN5jLQhzCPZdOeUTs86i+fbkmNJi2/OfB9Z+hwiYJt/e+yrj401HV/HObQcvOzes58W7u+fW9dZEx7SiHwzWD3p98Bjein+VSbfjs/mrgrHu8W1BhY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DcMUxSWCtqqBmaIEhd1m0VVPNwuIfCI//t1+tI7/zHQ6WMylKUkMEpuJ/xFZ0vq6GIfUUG7i+vpBRYMSK2R/ixXiJGK5WsU/2DF2f44B82Vqi0KTafslLLrWclKSf0Q/eePWNA+rsOiHZedyzrnCR2dV1HLqURT13+qgnqPx1XA= Received: by 10.90.120.13 with SMTP id s13mr5999332agc.1178618013466; Tue, 08 May 2007 02:53:33 -0700 (PDT) Received: by 10.90.99.15 with HTTP; Tue, 8 May 2007 02:53:33 -0700 (PDT) Message-ID: <88f5d710705080253y3f11d033p68f931c63abf7e9b@mail.gmail.com> Date: Tue, 8 May 2007 10:53:33 +0100 From: "Paul Fremantle" To: axis-user@ws.apache.org Subject: Re: Axis2 and .Net connection In-Reply-To: <402344.24452.qm@web52912.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <402344.24452.qm@web52912.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Which version of Axis2 are you using? Have you tried 1.2? I think it generates slightly more .NET friendly WSDL. Paul On 5/8/07, Ramazan Pekin wrote: > > > > Hi, > > I want to ask a question about axis2 and .net communication. I have a > problem, when I send a value to the .net client, all the values coming as > null or default values. I am using eclipse. These are my steps; > > > > I have create a java project. I have create a class ARUI015M; > > > > package com.efes.app.arui015m; > > import com.efes.app.arui015m.services.directinv.DEALERLIST; > > public class ARUI015M { > public DEALERLIST dealerList(String arg1, String arg2){ > System.out.println("dealerList called."); > DEALERLIST dealerList = new DEALERLIST(); > dealerList.MESSAGE = "TEST COMPLETED SUCCESSFULY!"; > return dealerList; > } > } > > > > public class DEALERLIST{ > public int RC = 0; > public String MESSAGE = null; > } > > > > I have generate wsdl file by Axis2 Code Generator eclipse plugin. I have > created aar file by Axis2 Service Archiver eclipse plugin which includes > services.xml and services.wsdl. I have put it under > C:\java\axis\repository\services\ and added to > services.list. I have redoploy Axis2 container. > > > > I have reached to this address > http://127.0.0.1:8080/axis2/services/, ARUI015MService was > there. > > > > I have create a .net project and I have added webReference by this url. > http://127.0.0.1:8080/axis2/services/ARUI015MService?wsdl. > I have writed .net code, I have to say that, I didnt understand .net code is > it true? > > > > localWebReference.ARUI015MService localService = new > localWebReference.ARUI015MService(); > localWebReference.dealerListResponse localDealerList = > localService.dealerList(new dealerList()); > localDealerMessage.Text = localDealerList.@return.MESSAGE; > > > > After all of these, MESSAGE coming as null. > > > > What is my wrong, can you help me please? > > I saw the log on cmd screen -> System.out.println("dealerList called."); > > this is my wsdl file; > > > > - xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" > xmlns:ns0="http://directinv.services.arui015m.app.efes.com/xsd" > xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" > xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" > xmlns:ns1="http://arui015m.app.efes.com/xsd" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > targetNamespace="http://arui015m.app.efes.com"> > > > > ARUI015MService > > - > > > - xmlns:ax21="http://directinv.services.arui015m.app.efes.com/xsd" > attributeFormDefault="qualified" elementFormDefault="qualified" > targetNamespace="http://directinv.services.arui015m.app.efes.com/xsd"> > > > > > - > > > - > > > > > > > > > > - attributeFormDefault="qualified" elementFormDefault="qualified" > targetNamespace="http://arui015m.app.efes.com/xsd"> > > > - > > > - > > > - > > > > > > > > > > - > > > - > > > - > > > > > > > > > > - > > > > > > - > > > > > > - > > > - > > > xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" > message="axis2:dealerListMessage" wsaw:Action="urn:dealerList" /> > > > > > > - type="axis2:ARUI015MServicePortType"> > > > transport="http://schemas.xmlsoap.org/soap/http" > style="document" /> > > - > > > > > - > > > > > > - > > > > > > > > - type="axis2:ARUI015MServicePortType"> > > > transport="http://schemas.xmlsoap.org/soap/http" > style="document" /> > > - > > > > > - > > > > > > - > > > > > > > > - type="axis2:ARUI015MServicePortType"> > > > > > - > > > > > - > > > > > > - > > > > > > > > - > > > - binding="axis2:ARUI015MServiceSOAP11Binding"> > > > location="http://192.168.49.162:8080/axis2/services/ARUI015MService" > /> > > > - binding="axis2:ARUI015MServiceSOAP12Binding"> > > > location="http://192.168.49.162:8080/axis2/services/ARUI015MService" > /> > > > - binding="axis2:ARUI015MServiceHttpBinding"> > > > location="http://192.168.49.162:8080/axis2/services/ARUI015MService" > /> > > > > ________________________________ > Yahoo! kullaniyor musunuz? > Istenmeyen postadan biktiniz mi? Istenmeyen postadan en iyi korunma Yahoo! > Posta'da > http://tr.mail.yahoo.com -- Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle paul@wso2.com "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org